@cmstops/pro-compo 0.1.30 → 0.1.32
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 +218 -20
- package/dist/index.min.css +1 -1
- package/es/baseFilter/component.js +2 -1
- package/es/contentDetailList/component.js +3 -1
- package/es/contentDetailList/components/Content/CompoItem/index.js +2 -1
- package/es/contentDetailList/components/Content/ContentListItem/index.js +2 -1
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +2 -1
- package/es/contentDetailList/components/Content/DocItem/index.js +2 -1
- package/es/contentDetailList/components/Content/DocMpItem/index.js +2 -1
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +2 -1
- package/es/contentDetailList/components/Content/LiveItem/index.js +2 -1
- package/es/contentDetailList/components/Content/MaccountItem/index.js +2 -1
- package/es/contentDetailList/components/Content/index.js +7 -2
- package/es/contentDetailList/components/Doc/index.js +2 -1
- package/es/contentDetailList/style/DocItem.less +4 -3
- package/es/contentDetailList/style/index.css +3 -3
- package/es/contentModal/component.js +39 -36
- package/es/contentModal/components/CompoList/CompoFilter/index.js +3 -2
- package/es/contentModal/components/CompoList/index.js +10 -3
- package/es/contentModal/components/ContentList/MediaFilter/index.js +2 -1
- package/es/contentModal/components/ContentList/index.js +2 -1
- package/es/contentModal/components/LiveList/MediaFilter/index.js +2 -1
- package/es/contentModal/components/LiveList/index.js +2 -1
- package/es/contentModal/components/MpAccountList/MpAccountFilter/index.js +2 -1
- package/es/contentModal/components/MpAccountList/index.js +2 -1
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +2 -1
- package/es/contentModal/components/MpContentList/index.js +2 -1
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +55 -23
- package/es/contentModal/components/ViewAllColumn/columnTree/index.js +68 -18
- package/es/contentModal/components/ViewAllColumn/index.js +93 -45
- package/es/contentModal/components/storeBox/index.js +8 -7
- 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/dataTags/component.js +26 -5
- package/es/editMetaInfo/component.js +2 -1
- package/es/editMetaInfo/components/metaInfoForm.js +93 -7
- package/es/editMetaInfo/style/index.css +18 -1
- package/es/editMetaInfo/style/index.less +31 -1
- package/es/hooks/source.d.ts +9 -0
- package/es/hooks/source.js +31 -0
- package/es/hooks/user.d.ts +1 -1
- package/es/imageCrop/component.js +16 -9
- package/es/index.css +218 -20
- package/es/mediaFilter/component.js +2 -1
- package/es/mediaFilter/components/DocFilter.js +2 -1
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/messageBox/list.js +2 -1
- package/es/previousVersion/component.js +2 -1
- package/es/resourceModal/assets/images/sys_load_more.js +2 -0
- package/es/resourceModal/component.js +11 -3
- package/es/resourceModal/components/MediaPreviewer/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +5 -7
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +87 -34
- 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/ToolbarSearch/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/index.js +18 -8
- 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/MainContent.less +25 -5
- package/es/resourceModal/style/SystemResourceSelected.less +138 -0
- package/es/resourceModal/style/index.css +142 -6
- package/es/resourceModal/style/index.less +1 -0
- package/es/selectAvatarList/component.js +2 -1
- package/es/selectGategory/component.js +2 -1
- package/es/selectGategory/components/ColumnSelection/index.js +2 -1
- package/es/selectThumb/component.js +8 -3
- package/es/selectThumb/components/card.js +5 -7
- package/es/selectThumb/components/colorPalette.js +2 -1
- package/es/selectThumb/components/colorPicker.js +2 -1
- package/es/typeIcons/component.js +10 -7
- package/es/uploadBefore/component.js +3 -2
- package/es/uploadBefore/components/UploadBefore.js +2 -1
- package/es/uploadBefore/components/UploadForClick.js +2 -1
- package/es/uploadStep/component.js +3 -2
- package/es/userDirector/component.js +2 -1
- package/es/userDirector/components/userTree.js +2 -1
- package/es/utils/doc.d.ts +1 -0
- package/es/utils/doc.js +2 -1
- package/es/utils/typeMap.d.ts +1 -0
- package/es/utils/typeMap.js +2 -1
- package/lib/baseFilter/component.js +2 -1
- package/lib/contentDetailList/component.js +3 -1
- package/lib/contentDetailList/components/Content/CompoItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +2 -1
- package/lib/contentDetailList/components/Content/DocItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/DocMpItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/LiveItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/index.js +6 -1
- package/lib/contentDetailList/components/Doc/index.js +2 -1
- package/lib/contentDetailList/style/DocItem.less +4 -3
- package/lib/contentDetailList/style/index.css +3 -3
- package/lib/contentModal/component.js +39 -36
- package/lib/contentModal/components/CompoList/CompoFilter/index.js +3 -2
- package/lib/contentModal/components/CompoList/index.js +10 -3
- package/lib/contentModal/components/ContentList/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/ContentList/index.js +2 -1
- package/lib/contentModal/components/LiveList/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/LiveList/index.js +2 -1
- package/lib/contentModal/components/MpAccountList/MpAccountFilter/index.js +2 -1
- package/lib/contentModal/components/MpAccountList/index.js +2 -1
- package/lib/contentModal/components/MpContentList/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/MpContentList/index.js +2 -1
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +53 -21
- package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +66 -16
- package/lib/contentModal/components/ViewAllColumn/index.js +92 -44
- package/lib/contentModal/components/storeBox/index.js +8 -7
- 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/dataTags/component.js +25 -4
- package/lib/editMetaInfo/component.js +2 -1
- package/lib/editMetaInfo/components/metaInfoForm.js +91 -5
- package/lib/editMetaInfo/style/index.css +18 -1
- package/lib/editMetaInfo/style/index.less +31 -1
- package/lib/hooks/source.js +34 -0
- package/lib/imageCrop/component.js +16 -9
- package/lib/index.css +218 -20
- package/lib/mediaFilter/component.js +2 -1
- package/lib/mediaFilter/components/DocFilter.js +2 -1
- package/lib/mediaFilter/components/FilterGroup.js +1 -1
- package/lib/messageBox/list.js +2 -1
- package/lib/previousVersion/component.js +2 -1
- package/lib/resourceModal/assets/images/sys_load_more.js +3 -0
- package/lib/resourceModal/component.js +10 -2
- package/lib/resourceModal/components/MediaPreviewer/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +5 -7
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +86 -33
- 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/ToolbarSearch/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/index.js +17 -7
- package/lib/resourceModal/script/api.js +23 -0
- package/lib/resourceModal/script/mediaSelection.js +10 -0
- package/lib/resourceModal/style/MainContent.less +25 -5
- package/lib/resourceModal/style/SystemResourceSelected.less +138 -0
- package/lib/resourceModal/style/index.css +142 -6
- package/lib/resourceModal/style/index.less +1 -0
- package/lib/selectAvatarList/component.js +2 -1
- package/lib/selectGategory/component.js +2 -1
- package/lib/selectGategory/components/ColumnSelection/index.js +2 -1
- package/lib/selectThumb/component.js +7 -2
- package/lib/selectThumb/components/card.js +5 -7
- package/lib/selectThumb/components/colorPalette.js +2 -1
- package/lib/selectThumb/components/colorPicker.js +2 -1
- package/lib/typeIcons/component.js +9 -6
- package/lib/uploadBefore/component.js +3 -2
- package/lib/uploadBefore/components/UploadBefore.js +2 -1
- package/lib/uploadBefore/components/UploadForClick.js +2 -1
- package/lib/uploadStep/component.js +3 -2
- package/lib/userDirector/component.js +2 -1
- package/lib/userDirector/components/userTree.js +2 -1
- package/lib/utils/doc.js +2 -1
- package/lib/utils/typeMap.js +2 -1
- package/package.json +5 -3
- package/es/editMetaInfo/script/restaurants.js +0 -127
- package/lib/editMetaInfo/script/restaurants.js +0 -128
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
var vue = require("vue");
|
|
3
3
|
var _null = require("../../../assets/selection/null.js");
|
|
4
4
|
var webVue = require("@arco-design/web-vue");
|
|
5
|
+
var icon = require("@arco-design/web-vue/es/icon");
|
|
5
6
|
var component = require("../../../../typeIcons/component.js");
|
|
6
7
|
var index = require("./FileTypeThumb/index.js");
|
|
7
8
|
var filter = require("../../../script/filter.js");
|
|
@@ -10,31 +11,36 @@ const _hoisted_2 = { class: "folder-list clearfix" };
|
|
|
10
11
|
const _hoisted_3 = ["onClick"];
|
|
11
12
|
const _hoisted_4 = { class: "wrap" };
|
|
12
13
|
const _hoisted_5 = { class: "thumb" };
|
|
13
|
-
const _hoisted_6 =
|
|
14
|
-
const _hoisted_7 = { class: "
|
|
15
|
-
const _hoisted_8 =
|
|
14
|
+
const _hoisted_6 = ["onClick"];
|
|
15
|
+
const _hoisted_7 = { class: "wrap" };
|
|
16
|
+
const _hoisted_8 = { class: "thumb" };
|
|
17
|
+
const _hoisted_9 = { class: "folder-more-wrap" };
|
|
18
|
+
const _hoisted_10 = { class: "file-list clearfix" };
|
|
19
|
+
const _hoisted_11 = { class: "thumb-wrap" };
|
|
20
|
+
const _hoisted_12 = /* @__PURE__ */ vue.createElementVNode("div", { class: "transcoding-in-progress grid-mode" }, [
|
|
16
21
|
/* @__PURE__ */ vue.createElementVNode("div", { class: "transcoding-progress" }, "\u8F6C\u7801\u4E2D\u2026")
|
|
17
22
|
], -1);
|
|
18
|
-
const
|
|
23
|
+
const _hoisted_13 = {
|
|
19
24
|
key: 0,
|
|
20
25
|
class: "load_more_title"
|
|
21
26
|
};
|
|
22
|
-
const
|
|
27
|
+
const _hoisted_14 = {
|
|
23
28
|
key: 1,
|
|
24
29
|
class: "nomore_tips"
|
|
25
30
|
};
|
|
26
|
-
const
|
|
31
|
+
const _hoisted_15 = {
|
|
27
32
|
key: 1,
|
|
28
33
|
class: "null-file"
|
|
29
34
|
};
|
|
30
|
-
const
|
|
35
|
+
const _hoisted_16 = /* @__PURE__ */ vue.createElementVNode("img", {
|
|
36
|
+
alt: "",
|
|
31
37
|
class: "null-pic",
|
|
32
38
|
src: _null
|
|
33
39
|
}, null, -1);
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
40
|
+
const _hoisted_17 = /* @__PURE__ */ vue.createElementVNode("p", null, "\u6682\u65E0\u7D20\u6750", -1);
|
|
41
|
+
const _hoisted_18 = [
|
|
42
|
+
_hoisted_16,
|
|
43
|
+
_hoisted_17
|
|
38
44
|
];
|
|
39
45
|
const _sfc_main = vue.defineComponent({
|
|
40
46
|
__name: "index",
|
|
@@ -48,7 +54,17 @@ const _sfc_main = vue.defineComponent({
|
|
|
48
54
|
loadFileMore: { type: Function }
|
|
49
55
|
},
|
|
50
56
|
emits: ["confirm"],
|
|
51
|
-
setup(__props, { emit }) {
|
|
57
|
+
setup(__props, { emit: __emit }) {
|
|
58
|
+
const props = __props;
|
|
59
|
+
const isFold = vue.ref(true);
|
|
60
|
+
vue.watch(
|
|
61
|
+
() => props.folderList.length,
|
|
62
|
+
(n) => {
|
|
63
|
+
isFold.value = n > 10;
|
|
64
|
+
},
|
|
65
|
+
{ immediate: true }
|
|
66
|
+
);
|
|
67
|
+
const emit = __emit;
|
|
52
68
|
const confirm = (itemData) => {
|
|
53
69
|
selectedData.value = [itemData];
|
|
54
70
|
emit("confirm", selectedData.value);
|
|
@@ -60,7 +76,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
60
76
|
vue.createElementVNode("div", _hoisted_1, [
|
|
61
77
|
vue.createCommentVNode(" \u6587\u4EF6\u5939 "),
|
|
62
78
|
vue.withDirectives(vue.createElementVNode("div", _hoisted_2, [
|
|
63
|
-
|
|
79
|
+
vue.createCommentVNode(" \u6587\u4EF6\u5939\u6570\u91CF<10"),
|
|
80
|
+
!isFold.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.folderList, (item, index2) => {
|
|
64
81
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
65
82
|
key: index2,
|
|
66
83
|
class: "item folder-item",
|
|
@@ -68,10 +85,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
68
85
|
}, [
|
|
69
86
|
vue.createElementVNode("div", _hoisted_4, [
|
|
70
87
|
vue.createVNode(vue.unref(webVue.Tooltip), {
|
|
88
|
+
content: item.alias,
|
|
71
89
|
"open-delay": 500,
|
|
72
90
|
class: "item",
|
|
73
91
|
effect: "dark",
|
|
74
|
-
content: item.alias,
|
|
75
92
|
placement: "top"
|
|
76
93
|
}, {
|
|
77
94
|
default: vue.withCtx(() => [
|
|
@@ -83,38 +100,74 @@ const _sfc_main = vue.defineComponent({
|
|
|
83
100
|
}, 1032, ["content"])
|
|
84
101
|
])
|
|
85
102
|
], 8, _hoisted_3);
|
|
86
|
-
}), 128))
|
|
103
|
+
}), 128)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
104
|
+
vue.createCommentVNode(" \u6587\u4EF6\u5939\u6570\u91CF>10"),
|
|
105
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.folderList.slice(0, 9), (item, index2) => {
|
|
106
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
107
|
+
key: index2,
|
|
108
|
+
class: "item folder-item",
|
|
109
|
+
onClick: ($event) => _ctx.changeDirectory(item)
|
|
110
|
+
}, [
|
|
111
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
112
|
+
vue.createVNode(vue.unref(webVue.Tooltip), {
|
|
113
|
+
content: item.alias,
|
|
114
|
+
"open-delay": 500,
|
|
115
|
+
class: "item",
|
|
116
|
+
effect: "dark",
|
|
117
|
+
placement: "top"
|
|
118
|
+
}, {
|
|
119
|
+
default: vue.withCtx(() => [
|
|
120
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
121
|
+
vue.createElementVNode("h4", null, vue.toDisplayString(item.alias), 1)
|
|
122
|
+
])
|
|
123
|
+
]),
|
|
124
|
+
_: 2
|
|
125
|
+
}, 1032, ["content"])
|
|
126
|
+
])
|
|
127
|
+
], 8, _hoisted_6);
|
|
128
|
+
}), 128))
|
|
129
|
+
], 64)),
|
|
130
|
+
_ctx.folderList.length > 10 ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
131
|
+
key: 2,
|
|
132
|
+
class: "folder-more-button",
|
|
133
|
+
onClick: _cache[0] || (_cache[0] = ($event) => isFold.value = !isFold.value)
|
|
134
|
+
}, [
|
|
135
|
+
vue.createElementVNode("div", _hoisted_9, [
|
|
136
|
+
isFold.value ? (vue.openBlock(), vue.createBlock(vue.unref(icon.IconDoubleDown), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(icon.IconDoubleUp), { key: 1 })),
|
|
137
|
+
vue.createTextVNode(" " + vue.toDisplayString(isFold.value ? "\u5C55\u5F00\u5168\u90E8" : "\u6536\u7F29\u5168\u90E8"), 1)
|
|
138
|
+
])
|
|
139
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
87
140
|
], 512), [
|
|
88
141
|
[vue.vShow, _ctx.folderList.length !== 0]
|
|
89
142
|
]),
|
|
90
143
|
vue.createCommentVNode(" \u6587\u4EF6 "),
|
|
91
|
-
vue.createElementVNode("div",
|
|
144
|
+
vue.createElementVNode("div", _hoisted_10, [
|
|
92
145
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.fileList, (item, index$1) => {
|
|
93
146
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
94
147
|
key: index$1,
|
|
95
148
|
class: "item"
|
|
96
149
|
}, [
|
|
97
150
|
vue.createElementVNode("div", {
|
|
98
|
-
class: vue.normalizeClass([
|
|
151
|
+
class: vue.normalizeClass([{ active: selectedData.value.includes(item) }, "shadow-wrap"])
|
|
99
152
|
}, [
|
|
100
|
-
vue.createElementVNode("div",
|
|
153
|
+
vue.createElementVNode("div", _hoisted_11, [
|
|
101
154
|
vue.createVNode(index, {
|
|
102
|
-
preview: _ctx.preview,
|
|
103
155
|
"item-data": item,
|
|
156
|
+
preview: _ctx.preview,
|
|
104
157
|
onConfirm: confirm
|
|
105
|
-
}, null, 8, ["
|
|
158
|
+
}, null, 8, ["item-data", "preview"])
|
|
106
159
|
]),
|
|
107
160
|
vue.createElementVNode("h4", null, [
|
|
108
161
|
vue.createVNode(component, {
|
|
109
|
-
class: "icon",
|
|
110
|
-
type: item.catalog,
|
|
111
162
|
doc: item.catalog !== "image",
|
|
112
|
-
resource: item.catalog === "image"
|
|
113
|
-
|
|
163
|
+
resource: item.catalog === "image",
|
|
164
|
+
type: item.catalog,
|
|
165
|
+
class: "icon"
|
|
166
|
+
}, null, 8, ["doc", "resource", "type"]),
|
|
114
167
|
vue.createVNode(vue.unref(webVue.Tooltip), {
|
|
168
|
+
content: item.alias,
|
|
115
169
|
"open-delay": 500,
|
|
116
170
|
effect: "dark",
|
|
117
|
-
content: item.alias,
|
|
118
171
|
placement: "top"
|
|
119
172
|
}, {
|
|
120
173
|
default: vue.withCtx(() => [
|
|
@@ -128,12 +181,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
128
181
|
item.task ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
129
182
|
key: 0,
|
|
130
183
|
"open-delay": 2e3,
|
|
131
|
-
effect: "dark",
|
|
132
184
|
content: "\u8F6C\u7801\u4E2D\uFF0C\u6682\u4E0D\u53EF\u7528",
|
|
185
|
+
effect: "dark",
|
|
133
186
|
placement: "bottom"
|
|
134
187
|
}, {
|
|
135
188
|
default: vue.withCtx(() => [
|
|
136
|
-
|
|
189
|
+
_hoisted_12
|
|
137
190
|
]),
|
|
138
191
|
_: 1
|
|
139
192
|
})) : vue.createCommentVNode("v-if", true)
|
|
@@ -141,21 +194,21 @@ const _sfc_main = vue.defineComponent({
|
|
|
141
194
|
]);
|
|
142
195
|
}), 128))
|
|
143
196
|
]),
|
|
144
|
-
_ctx.fileListCount ? (vue.openBlock(), vue.createElementBlock("div",
|
|
197
|
+
_ctx.fileListCount ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
|
|
145
198
|
!_ctx.isOver ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
146
199
|
key: 0,
|
|
147
|
-
type: "text",
|
|
148
|
-
size: "small",
|
|
149
200
|
class: "loadmore_tips",
|
|
201
|
+
size: "small",
|
|
202
|
+
type: "text",
|
|
150
203
|
onClick: _ctx.loadFileMore
|
|
151
204
|
}, {
|
|
152
205
|
default: vue.withCtx(() => [
|
|
153
|
-
vue.createTextVNode("\u52A0\u8F7D\u66F4\u591A\u2026")
|
|
206
|
+
vue.createTextVNode("\u52A0\u8F7D\u66F4\u591A\u2026 ")
|
|
154
207
|
]),
|
|
155
208
|
_: 1
|
|
156
|
-
}, 8, ["onClick"])) : (vue.openBlock(), vue.createElementBlock("div",
|
|
209
|
+
}, 8, ["onClick"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, "\u6CA1\u6709\u66F4\u591A\u4E86\u2026"))
|
|
157
210
|
])) : vue.createCommentVNode("v-if", true),
|
|
158
|
-
!_ctx.fileList.length && !_ctx.folderList.length ? (vue.openBlock(), vue.createElementBlock("div",
|
|
211
|
+
!_ctx.fileList.length && !_ctx.folderList.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15, _hoisted_18)) : vue.createCommentVNode("v-if", true)
|
|
159
212
|
])
|
|
160
213
|
]),
|
|
161
214
|
_: 1
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var webVue = require("@arco-design/web-vue");
|
|
4
|
+
var icon = require("@arco-design/web-vue/es/icon");
|
|
5
|
+
var filter = require("../../../../script/filter.js");
|
|
6
|
+
var api = require("../../../../script/api.js");
|
|
7
|
+
const _hoisted_1 = { class: "toolbar-search-container sysfile-filter-container" };
|
|
8
|
+
const _hoisted_2 = { class: "top-container" };
|
|
9
|
+
const _hoisted_3 = { class: "filter-content" };
|
|
10
|
+
const _hoisted_4 = { class: "filter-left" };
|
|
11
|
+
const _sfc_main = vue.defineComponent({
|
|
12
|
+
...{ name: "ToolbarSearch" },
|
|
13
|
+
__name: "SystemResourceFilter",
|
|
14
|
+
emits: ["search", "changeScen"],
|
|
15
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
16
|
+
const mediaUseType = vue.inject("mediaUseType");
|
|
17
|
+
const baseApi = vue.inject("baseAPI");
|
|
18
|
+
const filter$1 = vue.ref({
|
|
19
|
+
keyword: "",
|
|
20
|
+
wh_rate: "",
|
|
21
|
+
limit: 9
|
|
22
|
+
});
|
|
23
|
+
const classify_id = vue.ref("");
|
|
24
|
+
const classifyIdOptions = vue.ref([]);
|
|
25
|
+
const loadClassify = async () => {
|
|
26
|
+
const res = await api.getSysRsClassifyList(baseApi, mediaUseType);
|
|
27
|
+
if (res.code !== 0)
|
|
28
|
+
return;
|
|
29
|
+
classifyIdOptions.value = res.message.classifies;
|
|
30
|
+
};
|
|
31
|
+
const emit = __emit;
|
|
32
|
+
const contentSearch = () => {
|
|
33
|
+
const params = { ...filter$1.value, sys_tag: mediaUseType };
|
|
34
|
+
emit("search", params);
|
|
35
|
+
};
|
|
36
|
+
const changeScen = () => emit("changeScen", classify_id.value);
|
|
37
|
+
const clearKeyword = () => {
|
|
38
|
+
filter$1.value.keyword = "";
|
|
39
|
+
};
|
|
40
|
+
const showReset = vue.computed(
|
|
41
|
+
() => filter$1.value.keyword || filter$1.value.wh_rate || classify_id.value
|
|
42
|
+
);
|
|
43
|
+
const reset = () => {
|
|
44
|
+
filter$1.value = {
|
|
45
|
+
keyword: "",
|
|
46
|
+
wh_rate: "",
|
|
47
|
+
limit: 9
|
|
48
|
+
};
|
|
49
|
+
classify_id.value = "";
|
|
50
|
+
changeScen();
|
|
51
|
+
contentSearch();
|
|
52
|
+
};
|
|
53
|
+
vue.watch(
|
|
54
|
+
() => filter$1.value,
|
|
55
|
+
() => contentSearch(),
|
|
56
|
+
{ deep: true }
|
|
57
|
+
);
|
|
58
|
+
vue.watch(
|
|
59
|
+
() => classify_id.value,
|
|
60
|
+
() => changeScen()
|
|
61
|
+
);
|
|
62
|
+
vue.onMounted(() => {
|
|
63
|
+
loadClassify();
|
|
64
|
+
});
|
|
65
|
+
__expose({ reset });
|
|
66
|
+
return (_ctx, _cache) => {
|
|
67
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
68
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
69
|
+
vue.renderSlot(_ctx.$slots, "other"),
|
|
70
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
71
|
+
vue.createElementVNode("div", _hoisted_4, [
|
|
72
|
+
vue.createVNode(vue.unref(webVue.Input), {
|
|
73
|
+
modelValue: filter$1.value.keyword,
|
|
74
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filter$1.value.keyword = $event),
|
|
75
|
+
class: "filter-item",
|
|
76
|
+
"allow-clear": "",
|
|
77
|
+
placeholder: "\u8F93\u5165\u7D20\u6750\u6807\u9898\u641C\u7D22",
|
|
78
|
+
onClear: clearKeyword
|
|
79
|
+
}, null, 8, ["modelValue"]),
|
|
80
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
81
|
+
modelValue: classify_id.value,
|
|
82
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => classify_id.value = $event),
|
|
83
|
+
class: "filter-item",
|
|
84
|
+
placeholder: "\u573A\u666F\u5206\u7C7B"
|
|
85
|
+
}, {
|
|
86
|
+
default: vue.withCtx(() => [
|
|
87
|
+
vue.createVNode(vue.unref(webVue.Option), {
|
|
88
|
+
label: "\u5168\u90E8\u573A\u666F",
|
|
89
|
+
value: ""
|
|
90
|
+
}),
|
|
91
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(classifyIdOptions.value, (item) => {
|
|
92
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
93
|
+
key: item.classify_id,
|
|
94
|
+
label: item.scenario_name,
|
|
95
|
+
value: item.classify_id
|
|
96
|
+
}, null, 8, ["label", "value"]);
|
|
97
|
+
}), 128))
|
|
98
|
+
]),
|
|
99
|
+
_: 1
|
|
100
|
+
}, 8, ["modelValue"]),
|
|
101
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
102
|
+
modelValue: filter$1.value.wh_rate,
|
|
103
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => filter$1.value.wh_rate = $event),
|
|
104
|
+
class: "filter-item",
|
|
105
|
+
placeholder: "\u56FE\u7247\u6BD4\u4F8B"
|
|
106
|
+
}, {
|
|
107
|
+
default: vue.withCtx(() => [
|
|
108
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(filter.rateOptions), (item) => {
|
|
109
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
110
|
+
key: item.value,
|
|
111
|
+
label: item.label,
|
|
112
|
+
value: item.value
|
|
113
|
+
}, null, 8, ["label", "value"]);
|
|
114
|
+
}), 128))
|
|
115
|
+
]),
|
|
116
|
+
_: 1
|
|
117
|
+
}, 8, ["modelValue"]),
|
|
118
|
+
vue.withDirectives(vue.createVNode(vue.unref(webVue.Button), {
|
|
119
|
+
type: "text",
|
|
120
|
+
size: "medium",
|
|
121
|
+
onClick: reset
|
|
122
|
+
}, {
|
|
123
|
+
icon: vue.withCtx(() => [
|
|
124
|
+
vue.createVNode(vue.unref(icon.IconRefresh))
|
|
125
|
+
]),
|
|
126
|
+
default: vue.withCtx(() => [
|
|
127
|
+
vue.createTextVNode("\u91CD\u7F6E\u7B5B\u9009")
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
}, 512), [
|
|
131
|
+
[vue.vShow, showReset.value]
|
|
132
|
+
])
|
|
133
|
+
])
|
|
134
|
+
])
|
|
135
|
+
])
|
|
136
|
+
]);
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var sys_load_more = require("../../../../assets/images/sys_load_more.js");
|
|
4
|
+
var webVue = require("@arco-design/web-vue");
|
|
5
|
+
var index = require("../../MainContent/FileTypeThumb/index.js");
|
|
6
|
+
var api = require("../../../../script/api.js");
|
|
7
|
+
const _hoisted_1 = { class: "sys-res-file-list clearfix" };
|
|
8
|
+
const _hoisted_2 = { class: "thumb-wrap" };
|
|
9
|
+
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("img", { src: sys_load_more }, null, -1);
|
|
10
|
+
const _sfc_main = vue.defineComponent({
|
|
11
|
+
__name: "SystemResourceList",
|
|
12
|
+
props: {
|
|
13
|
+
sceniro: {},
|
|
14
|
+
outsideFilter: {}
|
|
15
|
+
},
|
|
16
|
+
emits: ["confirm"],
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
18
|
+
const emits = __emit;
|
|
19
|
+
const props = __props;
|
|
20
|
+
const baseApi = vue.inject("baseAPI");
|
|
21
|
+
const fileList = vue.ref([]);
|
|
22
|
+
const fileCount = vue.ref(0);
|
|
23
|
+
const showMore = vue.computed(
|
|
24
|
+
() => fileList.value.length < props.sceniro.count
|
|
25
|
+
);
|
|
26
|
+
vue.watch(
|
|
27
|
+
() => props.sceniro,
|
|
28
|
+
() => {
|
|
29
|
+
fileList.value = props.sceniro.data;
|
|
30
|
+
fileCount.value = props.sceniro.count;
|
|
31
|
+
},
|
|
32
|
+
{ deep: true, immediate: true }
|
|
33
|
+
);
|
|
34
|
+
const selectedData = vue.ref([]);
|
|
35
|
+
const confirm = (itemData) => {
|
|
36
|
+
selectedData.value = [itemData];
|
|
37
|
+
emits("confirm", selectedData.value);
|
|
38
|
+
};
|
|
39
|
+
const loadMore = async () => {
|
|
40
|
+
const { sceniro } = props;
|
|
41
|
+
const { outsideFilter } = props;
|
|
42
|
+
const res = await api.getSysRsPage(baseApi, {
|
|
43
|
+
sys_classify: sceniro.classify_id,
|
|
44
|
+
sys_tag: sceniro.sys_tag,
|
|
45
|
+
keyword: outsideFilter.keyword || "",
|
|
46
|
+
wh_rate: outsideFilter.wh_rate || "",
|
|
47
|
+
limit: 10,
|
|
48
|
+
offset: fileList.value.length
|
|
49
|
+
});
|
|
50
|
+
if (res.code !== 0)
|
|
51
|
+
return;
|
|
52
|
+
fileCount.value = res.message.count;
|
|
53
|
+
fileList.value = fileList.value.concat(res.message.data);
|
|
54
|
+
};
|
|
55
|
+
return (_ctx, _cache) => {
|
|
56
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
57
|
+
vue.createCommentVNode(" \u6587\u4EF6 "),
|
|
58
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
59
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(fileList.value, (item) => {
|
|
60
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
61
|
+
key: item.classify_id,
|
|
62
|
+
class: "item"
|
|
63
|
+
}, [
|
|
64
|
+
vue.createElementVNode("div", {
|
|
65
|
+
class: vue.normalizeClass([{ active: selectedData.value.includes(item) }, "shadow-wrap"])
|
|
66
|
+
}, [
|
|
67
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
68
|
+
vue.createVNode(index, {
|
|
69
|
+
"item-data": item,
|
|
70
|
+
preview: true,
|
|
71
|
+
onConfirm: confirm
|
|
72
|
+
}, null, 8, ["item-data"])
|
|
73
|
+
]),
|
|
74
|
+
vue.createElementVNode("h4", null, [
|
|
75
|
+
vue.createVNode(vue.unref(webVue.Tooltip), {
|
|
76
|
+
content: item.alias,
|
|
77
|
+
"open-delay": 500,
|
|
78
|
+
effect: "dark",
|
|
79
|
+
placement: "top"
|
|
80
|
+
}, {
|
|
81
|
+
default: vue.withCtx(() => [
|
|
82
|
+
vue.createElementVNode("span", null, vue.toDisplayString(item.alias), 1)
|
|
83
|
+
]),
|
|
84
|
+
_: 2
|
|
85
|
+
}, 1032, ["content"])
|
|
86
|
+
])
|
|
87
|
+
], 2)
|
|
88
|
+
]);
|
|
89
|
+
}), 128)),
|
|
90
|
+
showMore.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
91
|
+
key: 0,
|
|
92
|
+
class: "item-load-more",
|
|
93
|
+
style: vue.normalizeStyle({ width: "calc(20% - 20px)" }),
|
|
94
|
+
onClick: loadMore
|
|
95
|
+
}, [
|
|
96
|
+
_hoisted_3,
|
|
97
|
+
vue.createTextVNode(" \u70B9\u51FB\u52A0\u8F7D\u66F4\u591A ")
|
|
98
|
+
], 4)) : vue.createCommentVNode("v-if", true)
|
|
99
|
+
])
|
|
100
|
+
], 2112);
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var _null = require("../../../assets/selection/null.js");
|
|
4
|
+
var webVue = require("@arco-design/web-vue");
|
|
5
|
+
var SystemResourceFilter = require("./components/SystemResourceFilter.js");
|
|
6
|
+
var SystemResourceList = require("./components/SystemResourceList.js");
|
|
7
|
+
var api = require("../../../script/api.js");
|
|
8
|
+
const _hoisted_1 = { class: "sys-resource-dialog" };
|
|
9
|
+
const _hoisted_2 = { class: "sys-resource-cards" };
|
|
10
|
+
const _hoisted_3 = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "scen-module"
|
|
13
|
+
};
|
|
14
|
+
const _hoisted_4 = { class: "title" };
|
|
15
|
+
const _hoisted_5 = /* @__PURE__ */ vue.createElementVNode("div", { class: "line" }, null, -1);
|
|
16
|
+
const _hoisted_6 = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "null-file"
|
|
19
|
+
};
|
|
20
|
+
const _hoisted_7 = /* @__PURE__ */ vue.createElementVNode("img", {
|
|
21
|
+
class: "null-pic",
|
|
22
|
+
src: _null
|
|
23
|
+
}, null, -1);
|
|
24
|
+
const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("p", null, "\u6682\u65E0\u7D20\u6750", -1);
|
|
25
|
+
const _hoisted_9 = [
|
|
26
|
+
_hoisted_7,
|
|
27
|
+
_hoisted_8
|
|
28
|
+
];
|
|
29
|
+
const _sfc_main = vue.defineComponent({
|
|
30
|
+
__name: "index",
|
|
31
|
+
emits: ["confirm"],
|
|
32
|
+
setup(__props, { emit: __emit }) {
|
|
33
|
+
const emits = __emit;
|
|
34
|
+
const mediaUseType = vue.inject("mediaUseType");
|
|
35
|
+
const baseApi = vue.inject("baseAPI");
|
|
36
|
+
const scenList = vue.ref([]);
|
|
37
|
+
const choseScen = vue.ref("");
|
|
38
|
+
const outsideFilter = vue.ref(null);
|
|
39
|
+
const handleSearch = async (filter) => {
|
|
40
|
+
outsideFilter.value = filter;
|
|
41
|
+
const res = await api.getSysRsByTag(baseApi, filter);
|
|
42
|
+
if (res.code !== 0)
|
|
43
|
+
return;
|
|
44
|
+
scenList.value = res.message.Results;
|
|
45
|
+
};
|
|
46
|
+
const handleChangeScen = (scen) => {
|
|
47
|
+
choseScen.value = scen;
|
|
48
|
+
};
|
|
49
|
+
const handleConfirm = (data) => {
|
|
50
|
+
data[0].realUrl = data[0].url;
|
|
51
|
+
emits("confirm", data);
|
|
52
|
+
};
|
|
53
|
+
const isEmpty = vue.computed(() => {
|
|
54
|
+
if (!scenList.value.length)
|
|
55
|
+
return true;
|
|
56
|
+
if (choseScen.value !== "") {
|
|
57
|
+
const scen = scenList.value.find(
|
|
58
|
+
(item) => item.classify_id === choseScen.value
|
|
59
|
+
);
|
|
60
|
+
return scen.data === null;
|
|
61
|
+
}
|
|
62
|
+
return !scenList.value.some((item) => item.data && item.data.length > 0);
|
|
63
|
+
});
|
|
64
|
+
vue.onMounted(() => {
|
|
65
|
+
handleSearch({ sys_tag: mediaUseType, limit: 9 });
|
|
66
|
+
});
|
|
67
|
+
return (_ctx, _cache) => {
|
|
68
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
69
|
+
vue.createVNode(SystemResourceFilter, {
|
|
70
|
+
onSearch: handleSearch,
|
|
71
|
+
onChangeScen: handleChangeScen
|
|
72
|
+
}),
|
|
73
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
74
|
+
vue.createVNode(vue.unref(webVue.Scrollbar), { class: "sys-resource-scroll" }, {
|
|
75
|
+
default: vue.withCtx(() => [
|
|
76
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(scenList.value, (sceniro) => {
|
|
77
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
78
|
+
key: sceniro.classify_id
|
|
79
|
+
}, [
|
|
80
|
+
sceniro.data && sceniro.data.length > 0 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
|
|
81
|
+
vue.createElementVNode("div", _hoisted_4, [
|
|
82
|
+
_hoisted_5,
|
|
83
|
+
vue.createTextVNode(" " + vue.toDisplayString(sceniro.scenario_name), 1)
|
|
84
|
+
]),
|
|
85
|
+
vue.createVNode(SystemResourceList, {
|
|
86
|
+
"outside-filter": outsideFilter.value,
|
|
87
|
+
sceniro,
|
|
88
|
+
onConfirm: handleConfirm
|
|
89
|
+
}, null, 8, ["outside-filter", "sceniro"])
|
|
90
|
+
], 512)), [
|
|
91
|
+
[vue.vShow, [sceniro.classify_id, ""].includes(choseScen.value)]
|
|
92
|
+
]) : vue.createCommentVNode("v-if", true)
|
|
93
|
+
], 64);
|
|
94
|
+
}), 128)),
|
|
95
|
+
isEmpty.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, _hoisted_9)) : vue.createCommentVNode("v-if", true)
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
})
|
|
99
|
+
])
|
|
100
|
+
]);
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
module.exports = _sfc_main;
|
|
@@ -19,7 +19,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
19
19
|
base_api: {}
|
|
20
20
|
},
|
|
21
21
|
emits: ["search"],
|
|
22
|
-
setup(__props, { expose: __expose, emit }) {
|
|
22
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
23
23
|
const props = __props;
|
|
24
24
|
const filter$1 = vue.ref({
|
|
25
25
|
keyword: "",
|
|
@@ -59,6 +59,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
59
59
|
() => contentSearch(),
|
|
60
60
|
{ deep: true }
|
|
61
61
|
);
|
|
62
|
+
const emit = __emit;
|
|
62
63
|
const contentSearch = () => {
|
|
63
64
|
if (filter$1.value.keyword === "" && filter$1.value.upload_by === "" && filter$1.value.sf === "" && filter$1.value.wh_rate === "" && filter$1.value.uploadTime === null) {
|
|
64
65
|
emit("search", null);
|
|
@@ -4,8 +4,9 @@ var webVue = require("@arco-design/web-vue");
|
|
|
4
4
|
var icon = require("@arco-design/web-vue/es/icon");
|
|
5
5
|
var api = require("../../script/api.js");
|
|
6
6
|
var index = require("./DocAiMediaSelected/index.js");
|
|
7
|
-
var index$1 = require("./
|
|
8
|
-
var index$2 = require("./
|
|
7
|
+
var index$1 = require("./SystemResourceSelected/index.js");
|
|
8
|
+
var index$2 = require("./ToolbarSearch/index.js");
|
|
9
|
+
var index$3 = require("./MainContent/index.js");
|
|
9
10
|
const _hoisted_1 = {
|
|
10
11
|
class: "media-selection",
|
|
11
12
|
unselectable: "on"
|
|
@@ -25,8 +26,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
25
26
|
ai_gif_covers: {}
|
|
26
27
|
},
|
|
27
28
|
emits: ["confirm"],
|
|
28
|
-
setup(__props, { emit }) {
|
|
29
|
+
setup(__props, { emit: __emit }) {
|
|
29
30
|
const props = __props;
|
|
31
|
+
const emit = __emit;
|
|
32
|
+
const mediaUseType = vue.inject("mediaUseType");
|
|
30
33
|
const confirm = (itemData) => {
|
|
31
34
|
emit("confirm", itemData);
|
|
32
35
|
};
|
|
@@ -44,7 +47,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
44
47
|
});
|
|
45
48
|
const filter = vue.ref(null);
|
|
46
49
|
const activeMediaType = vue.ref(
|
|
47
|
-
props.ai_static_covers && props.ai_static_covers.length ? "ai" : "all"
|
|
50
|
+
props.ai_static_covers && props.ai_static_covers.length ? "ai" : mediaUseType ? "system" : "all"
|
|
48
51
|
);
|
|
49
52
|
const api$1 = vue.ref({ getAttachmentsAll: api.getAttachmentsAll, getAttachmentsMy: api.getAttachmentsMy });
|
|
50
53
|
const currentDirectory = vue.ref({
|
|
@@ -172,6 +175,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
172
175
|
key: "ai",
|
|
173
176
|
title: "AI\u4F18\u9009"
|
|
174
177
|
})) : vue.createCommentVNode("v-if", true),
|
|
178
|
+
vue.unref(mediaUseType) ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
|
|
179
|
+
key: "system",
|
|
180
|
+
title: "\u5185\u7F6E\u8D44\u6E90"
|
|
181
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
175
182
|
vue.createVNode(vue.unref(webVue.TabPane), {
|
|
176
183
|
key: "all",
|
|
177
184
|
title: "\u5168\u90E8\u7D20\u6750"
|
|
@@ -196,12 +203,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
196
203
|
"selected-max": _ctx.selectedMax,
|
|
197
204
|
preview: _ctx.preview,
|
|
198
205
|
onConfirm: confirm
|
|
199
|
-
}, null, 8, ["ai_static_covers", "ai_gif_covers", "selected-max", "preview"])) :
|
|
206
|
+
}, null, 8, ["ai_static_covers", "ai_gif_covers", "selected-max", "preview"])) : activeMediaType.value === "system" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
207
|
+
vue.createCommentVNode(" \u5185\u7F6E\u8D44\u6E90 "),
|
|
208
|
+
vue.createVNode(index$1, { onConfirm: confirm })
|
|
209
|
+
], 2112)) : vue.createCommentVNode("v-if", true),
|
|
200
210
|
vue.createCommentVNode(" \u7D20\u6750\u5E93\u7D20\u6750 "),
|
|
201
211
|
vue.createCommentVNode(" \u7EC4\u7EC7\u3001\u6587\u4EF6\u5939\u9762\u5305\u5C51 "),
|
|
202
212
|
vue.withDirectives(vue.createElementVNode("div", _hoisted_4, [
|
|
203
213
|
vue.createElementVNode("div", _hoisted_5, [
|
|
204
|
-
vue.createVNode(index$
|
|
214
|
+
vue.createVNode(index$2, {
|
|
205
215
|
ref_key: "getMoreData",
|
|
206
216
|
ref: getMoreData,
|
|
207
217
|
class: "tool-search-box",
|
|
@@ -248,7 +258,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
248
258
|
_: 1
|
|
249
259
|
})) : vue.createCommentVNode("v-if", true),
|
|
250
260
|
vue.createCommentVNode(" \u6211\u7684\u5DE5\u7A0B\u3001\u89C6\u9891\u5217\u8868 "),
|
|
251
|
-
vue.createVNode(index$
|
|
261
|
+
vue.createVNode(index$3, {
|
|
252
262
|
"folder-list": folderList.value,
|
|
253
263
|
"file-list": fileList.value,
|
|
254
264
|
"file-list-count": fileListCount.value,
|