@cmstops/pro-compo 3.9.1-rc.1 → 3.9.1-rc.2
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/es/hooks/useAttachement.js +2 -9
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +19 -15
- package/es/selectResourceModal/scripts/useCompoLf.js +1 -1
- package/lib/hooks/useAttachement.js +2 -9
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +18 -14
- package/lib/selectResourceModal/scripts/useCompoLf.js +1 -1
- package/package.json +1 -1
- package/es/appCenter/component.d.ts +0 -0
- package/es/appCenter/index.d.ts +0 -2
- package/es/appCenter/script/api.d.ts +0 -11
- package/es/appCenter/script/apps.d.ts +0 -14
- package/es/appCenter/script/permissionMap.d.ts +0 -6
- package/es/appCenter/script/routeMap.d.ts +0 -4
- package/es/appCenter/style/index.d.ts +0 -1
- package/es/baseFilter/component.d.ts +0 -0
- package/es/baseFilter/components/FilterGroup.d.ts +0 -0
- package/es/baseFilter/components/filterItem.d.ts +0 -0
- package/es/baseFilter/index.d.ts +0 -2
- package/es/baseFilter/style/index.d.ts +0 -1
- package/es/baseFilter/useCalcWidth.d.ts +0 -16
- package/es/colorPalette/component.d.ts +0 -0
- package/es/colorPalette/components/colorPicker.d.ts +0 -0
- package/es/colorPalette/index.d.ts +0 -2
- package/es/colorPalette/style/index.d.ts +0 -1
- package/es/components.d.ts +0 -5
- package/es/config.d.ts +0 -4
- package/es/contentDetailList/__demo__/matrix/platform.d.ts +0 -36
- package/es/contentDetailList/component.d.ts +0 -0
- package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/index.d.ts +0 -0
- package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
- package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
- package/es/contentDetailList/components/Doc/index.d.ts +0 -0
- package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Records/index.d.ts +0 -0
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
- package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
- package/es/contentDetailList/index.d.ts +0 -2
- package/es/contentDetailList/script/api.d.ts +0 -6
- package/es/contentDetailList/style/index.d.ts +0 -1
- package/es/contentModal/component.d.ts +0 -0
- package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
- package/es/contentModal/components/CompoList/index.d.ts +0 -0
- package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/ContentList/index.d.ts +0 -0
- package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/Dejin/index.d.ts +0 -0
- package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
- package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/LiveList/index.d.ts +0 -0
- package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
- package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
- package/es/contentModal/components/storeBox/index.d.ts +0 -0
- package/es/contentModal/index.d.ts +0 -2
- package/es/contentModal/script/api.d.ts +0 -18
- package/es/contentModal/style/index.d.ts +0 -1
- package/es/dataTags/component.d.ts +0 -0
- package/es/dataTags/index.d.ts +0 -2
- package/es/dataTags/style/index.d.ts +0 -1
- package/es/docHistory/component.d.ts +0 -0
- package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
- package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
- package/es/docHistory/index.d.ts +0 -2
- package/es/docHistory/scripts/diff.d.ts +0 -1
- package/es/docHistory/scripts/useDocHistory.d.ts +0 -10
- package/es/docHistory/style/index.d.ts +0 -1
- package/es/docPreview/component.d.ts +0 -0
- package/es/docPreview/components/PreviewIframe.d.ts +0 -0
- package/es/docPreview/index.d.ts +0 -2
- package/es/docPreview/scripts/api.d.ts +0 -1
- package/es/docPreview/scripts/hook.d.ts +0 -33
- package/es/docPreview/style/index.d.ts +0 -1
- package/es/editMetaInfo/component.d.ts +0 -0
- package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
- package/es/editMetaInfo/index.d.ts +0 -2
- package/es/editMetaInfo/script/api.d.ts +0 -6
- package/es/editMetaInfo/script/restaurants.d.ts +0 -4
- package/es/editMetaInfo/style/index.d.ts +0 -1
- package/es/emptyData/component.d.ts +0 -0
- package/es/emptyData/index.d.ts +0 -2
- package/es/emptyData/style/index.d.ts +0 -1
- package/es/emptyData/svg/add.d.ts +0 -0
- package/es/hooks/assets.d.ts +0 -1
- package/es/hooks/batch.d.ts +0 -8
- package/es/hooks/dialogVisible.d.ts +0 -8
- package/es/hooks/source.d.ts +0 -9
- package/es/hooks/toggle.d.ts +0 -6
- package/es/hooks/useAttachement.d.ts +0 -53
- package/es/hooks/useLocalStorage.d.ts +0 -10
- package/es/hooks/useMediaContext.d.ts +0 -12
- package/es/hooks/usePopper.d.ts +0 -8
- package/es/hooks/useSelection.d.ts +0 -30
- package/es/hooks/useUpload.d.ts +0 -30
- package/es/hooks/user.d.ts +0 -9
- package/es/imageCrop/component.d.ts +0 -0
- package/es/imageCrop/index.d.ts +0 -2
- package/es/imageCrop/script/api.d.ts +0 -1
- package/es/imageCrop/style/index.d.ts +0 -1
- package/es/importData/component.d.ts +0 -0
- package/es/importData/index.d.ts +0 -2
- package/es/importData/style/index.d.ts +0 -1
- package/es/index.d.ts +0 -30
- package/es/mediaFilter/component.d.ts +0 -0
- package/es/mediaFilter/components/DocFilter.d.ts +0 -0
- package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
- package/es/mediaFilter/components/FilterItem.d.ts +0 -0
- package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
- package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
- package/es/mediaFilter/index.d.ts +0 -3
- package/es/mediaFilter/script/optionsGetter.d.ts +0 -26
- package/es/mediaFilter/script/types.d.ts +0 -16
- package/es/mediaFilter/style/index.d.ts +0 -1
- package/es/mediaView/component.d.ts +0 -0
- package/es/mediaView/index.d.ts +0 -2
- package/es/mediaView/style/index.d.ts +0 -1
- package/es/messageBox/component.d.ts +0 -0
- package/es/messageBox/index.d.ts +0 -2
- package/es/messageBox/list.d.ts +0 -0
- package/es/messageBox/script/api.d.ts +0 -6
- package/es/messageBox/style/index.d.ts +0 -1
- package/es/previousVersion/component.d.ts +0 -0
- package/es/previousVersion/index.d.ts +0 -2
- package/es/previousVersion/script/api.d.ts +0 -15
- package/es/previousVersion/script/tool.d.ts +0 -6
- package/es/previousVersion/style/index.d.ts +0 -1
- package/es/resourceGridList/component.d.ts +0 -0
- package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
- package/es/resourceGridList/index.d.ts +0 -2
- package/es/resourceGridList/style/index.d.ts +0 -1
- package/es/resourceModal/component.d.ts +0 -0
- package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
- package/es/resourceModal/index.d.ts +0 -2
- package/es/resourceModal/script/api.d.ts +0 -25
- package/es/resourceModal/script/mediaSelection.d.ts +0 -14
- package/es/resourceModal/style/index.d.ts +0 -1
- package/es/selectAvatarList/component.d.ts +0 -0
- package/es/selectAvatarList/index.d.ts +0 -2
- package/es/selectAvatarList/style/index.d.ts +0 -1
- package/es/selectGategory/component.d.ts +0 -0
- package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
- package/es/selectGategory/index.d.ts +0 -2
- package/es/selectGategory/script/api.d.ts +0 -6
- package/es/selectGategory/style/index.d.ts +0 -1
- package/es/selectResourceModal/component.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListAi/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListCardWrapper.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListLocal/Upload.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListNormal/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListVideo/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
- package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
- package/es/selectResourceModal/index.d.ts +0 -2
- package/es/selectResourceModal/scripts/selectionApis.d.ts +0 -2
- package/es/selectResourceModal/scripts/useCompoLf.d.ts +0 -27
- package/es/selectResourceModal/scripts/useResourceSelect.d.ts +0 -7
- package/es/selectResourceModal/scripts/useTabFilter.d.ts +0 -22
- package/es/selectResourceModal/style/index.d.ts +0 -1
- package/es/selectThumb/component.d.ts +0 -0
- package/es/selectThumb/components/card.d.ts +0 -0
- package/es/selectThumb/components/colorPalette.d.ts +0 -0
- package/es/selectThumb/components/colorPicker.d.ts +0 -0
- package/es/selectThumb/index.d.ts +0 -2
- package/es/selectThumb/style/index.d.ts +0 -1
- package/es/thumbCard/component.d.ts +0 -0
- package/es/thumbCard/components/ThumbUploading/index.d.ts +0 -0
- package/es/thumbCard/index.d.ts +0 -2
- package/es/thumbCard/style/index.d.ts +0 -1
- package/es/typeIcons/component.d.ts +0 -0
- package/es/typeIcons/index.d.ts +0 -2
- package/es/typeIcons/style/index.d.ts +0 -1
- package/es/uploadBefore/component.d.ts +0 -0
- package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
- package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
- package/es/uploadBefore/index.d.ts +0 -2
- package/es/uploadBefore/script/api.d.ts +0 -16
- package/es/uploadBefore/script/fileTypeAdapter.d.ts +0 -39
- package/es/uploadBefore/script/fileUpload.d.ts +0 -7
- package/es/uploadBefore/script/uploadHooks.d.ts +0 -96
- package/es/uploadBefore/style/index.d.ts +0 -1
- package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
- package/es/uploadStep/component.d.ts +0 -0
- package/es/uploadStep/index.d.ts +0 -2
- package/es/uploadStep/script/fileTypeAdapter.d.ts +0 -20
- package/es/uploadStep/style/index.d.ts +0 -1
- package/es/userAvater/component.d.ts +0 -0
- package/es/userAvater/index.d.ts +0 -2
- package/es/userAvater/script/api.d.ts +0 -8
- package/es/userAvater/style/index.d.ts +0 -1
- package/es/userDirector/component.d.ts +0 -0
- package/es/userDirector/components/userTree.d.ts +0 -0
- package/es/userDirector/index.d.ts +0 -2
- package/es/userDirector/script/api.d.ts +0 -10
- package/es/userDirector/style/index.d.ts +0 -1
- package/es/utils/auth.d.ts +0 -5
- package/es/utils/date.d.ts +0 -3
- package/es/utils/doc.d.ts +0 -76
- package/es/utils/filter.d.ts +0 -21
- package/es/utils/index.d.ts +0 -17
- package/es/utils/request.d.ts +0 -9
- package/es/utils/resource.d.ts +0 -4
- package/es/utils/transcodeMedia.d.ts +0 -13
- package/es/utils/tusUpload.d.ts +0 -16
- package/es/utils/typeMap.d.ts +0 -185
- package/es/utils/uploadCatalog.d.ts +0 -1
- package/es/videoThumb/component.d.ts +0 -0
- package/es/videoThumb/index.d.ts +0 -2
- package/es/videoThumb/scripts/api.d.ts +0 -9
- package/es/videoThumb/scripts/useVideoThumbs.d.ts +0 -12
- package/es/videoThumb/style/index.d.ts +0 -1
|
@@ -110,7 +110,7 @@ function getSysRsPage(BASE_API, params) {
|
|
|
110
110
|
}
|
|
111
111
|
function getDirectory(BASE_API, params) {
|
|
112
112
|
return request(BASE_API, {
|
|
113
|
-
url: "/poplar/v3/
|
|
113
|
+
url: "/poplar/v3/directory/tree",
|
|
114
114
|
method: "get",
|
|
115
115
|
params
|
|
116
116
|
});
|
|
@@ -123,14 +123,7 @@ function useDirectory(options) {
|
|
|
123
123
|
if (code === 0) {
|
|
124
124
|
if (!Array.isArray(message.data))
|
|
125
125
|
return [];
|
|
126
|
-
return message.data
|
|
127
|
-
return {
|
|
128
|
-
title: alias,
|
|
129
|
-
key: id,
|
|
130
|
-
isLeaf: false,
|
|
131
|
-
children: []
|
|
132
|
-
};
|
|
133
|
-
});
|
|
126
|
+
return message.data;
|
|
134
127
|
}
|
|
135
128
|
return [];
|
|
136
129
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, inject, computed, ref, watch, onMounted, openBlock, createElementBlock, createElementVNode, createCommentVNode, createVNode, unref, withCtx, createTextVNode, toDisplayString, Fragment, renderList, createBlock, normalizeClass } from "vue";
|
|
2
|
-
import { Input, Dropdown, Doption, Button, Select, Option,
|
|
2
|
+
import { Input, Dropdown, Doption, Button, TreeSelect, Select, Option, RangePicker } from "@arco-design/web-vue";
|
|
3
3
|
import { IconUpload } from "@arco-design/web-vue/es/icon";
|
|
4
4
|
import useSelection from "../../../../hooks/useSelection.js";
|
|
5
5
|
import { useDirectory } from "../../../../hooks/useAttachement.js";
|
|
@@ -12,7 +12,7 @@ const _hoisted_3 = { class: "filter-list" };
|
|
|
12
12
|
const _hoisted_4 = { style: { "width": "200px" } };
|
|
13
13
|
const _hoisted_5 = {
|
|
14
14
|
class: "filter-item",
|
|
15
|
-
style: { "width": "
|
|
15
|
+
style: { "width": "170px" }
|
|
16
16
|
};
|
|
17
17
|
const _hoisted_6 = { class: "filter-item" };
|
|
18
18
|
const _hoisted_7 = {
|
|
@@ -57,7 +57,7 @@ const _sfc_main = defineComponent({
|
|
|
57
57
|
});
|
|
58
58
|
const resourceSource = RESOURCE_SOURCE_OPTIONS;
|
|
59
59
|
const resourceCatalog = RESOURCE_CATALOG_OPTIONS;
|
|
60
|
-
const { tree
|
|
60
|
+
const { tree } = useDirectory({
|
|
61
61
|
BASE_API: baseAPI
|
|
62
62
|
});
|
|
63
63
|
const originFilter = {
|
|
@@ -211,15 +211,29 @@ const _sfc_main = defineComponent({
|
|
|
211
211
|
_: 1
|
|
212
212
|
}, 8, ["modelValue"])
|
|
213
213
|
]),
|
|
214
|
+
createCommentVNode(" \u76EE\u5F55 "),
|
|
215
|
+
createVNode(unref(TreeSelect), {
|
|
216
|
+
modelValue: filter.value.directory_id,
|
|
217
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => filter.value.directory_id = $event),
|
|
218
|
+
data: unref(tree),
|
|
219
|
+
placeholder: "\u8BF7\u9009\u62E9\u76EE\u5F55",
|
|
220
|
+
style: { "width": "120px" },
|
|
221
|
+
"field-names": {
|
|
222
|
+
title: "alias",
|
|
223
|
+
key: "id"
|
|
224
|
+
},
|
|
225
|
+
"allow-clear": ""
|
|
226
|
+
}, null, 8, ["modelValue", "data"]),
|
|
214
227
|
createCommentVNode(" \u7D20\u6750\u7C7B\u578B "),
|
|
215
228
|
createElementVNode("div", _hoisted_5, [
|
|
216
229
|
createVNode(unref(Select), {
|
|
217
230
|
modelValue: filter.value.catalog,
|
|
218
|
-
"onUpdate:modelValue": _cache[
|
|
231
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => filter.value.catalog = $event),
|
|
219
232
|
disabled: (_a = unref(filterOptions)) == null ? void 0 : _a.mediaTypeStrict,
|
|
220
233
|
"allow-clear": "",
|
|
221
234
|
placeholder: "\u7C7B\u578B",
|
|
222
|
-
multiple: ""
|
|
235
|
+
multiple: "",
|
|
236
|
+
"max-tag-count": 1
|
|
223
237
|
}, {
|
|
224
238
|
default: withCtx(() => [
|
|
225
239
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(resourceCatalog), (item) => {
|
|
@@ -233,16 +247,6 @@ const _sfc_main = defineComponent({
|
|
|
233
247
|
_: 1
|
|
234
248
|
}, 8, ["modelValue", "disabled"])
|
|
235
249
|
]),
|
|
236
|
-
createCommentVNode(" \u76EE\u5F55 "),
|
|
237
|
-
createVNode(unref(TreeSelect), {
|
|
238
|
-
modelValue: filter.value.directory_id,
|
|
239
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => filter.value.directory_id = $event),
|
|
240
|
-
data: unref(tree),
|
|
241
|
-
"load-more": unref(loadDirMore),
|
|
242
|
-
placeholder: "\u8BF7\u9009\u62E9\u76EE\u5F55",
|
|
243
|
-
style: { "width": "180px" },
|
|
244
|
-
"allow-clear": ""
|
|
245
|
-
}, null, 8, ["modelValue", "data", "load-more"]),
|
|
246
250
|
createCommentVNode(" \u65F6\u95F4\u8303\u56F4 "),
|
|
247
251
|
createVNode(unref(RangePicker), {
|
|
248
252
|
modelValue: rangeTime.value,
|
|
@@ -112,7 +112,7 @@ function getSysRsPage(BASE_API, params) {
|
|
|
112
112
|
}
|
|
113
113
|
function getDirectory(BASE_API, params) {
|
|
114
114
|
return request(BASE_API, {
|
|
115
|
-
url: "/poplar/v3/
|
|
115
|
+
url: "/poplar/v3/directory/tree",
|
|
116
116
|
method: "get",
|
|
117
117
|
params
|
|
118
118
|
});
|
|
@@ -125,14 +125,7 @@ function useDirectory(options) {
|
|
|
125
125
|
if (code === 0) {
|
|
126
126
|
if (!Array.isArray(message.data))
|
|
127
127
|
return [];
|
|
128
|
-
return message.data
|
|
129
|
-
return {
|
|
130
|
-
title: alias,
|
|
131
|
-
key: id,
|
|
132
|
-
isLeaf: false,
|
|
133
|
-
children: []
|
|
134
|
-
};
|
|
135
|
-
});
|
|
128
|
+
return message.data;
|
|
136
129
|
}
|
|
137
130
|
return [];
|
|
138
131
|
}
|
|
@@ -13,7 +13,7 @@ const _hoisted_3 = { class: "filter-list" };
|
|
|
13
13
|
const _hoisted_4 = { style: { "width": "200px" } };
|
|
14
14
|
const _hoisted_5 = {
|
|
15
15
|
class: "filter-item",
|
|
16
|
-
style: { "width": "
|
|
16
|
+
style: { "width": "170px" }
|
|
17
17
|
};
|
|
18
18
|
const _hoisted_6 = { class: "filter-item" };
|
|
19
19
|
const _hoisted_7 = {
|
|
@@ -58,7 +58,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
58
58
|
});
|
|
59
59
|
const resourceSource = typeMap.RESOURCE_SOURCE_OPTIONS;
|
|
60
60
|
const resourceCatalog = typeMap.RESOURCE_CATALOG_OPTIONS;
|
|
61
|
-
const { tree
|
|
61
|
+
const { tree } = useAttachement.useDirectory({
|
|
62
62
|
BASE_API: baseAPI
|
|
63
63
|
});
|
|
64
64
|
const originFilter = {
|
|
@@ -212,15 +212,29 @@ const _sfc_main = vue.defineComponent({
|
|
|
212
212
|
_: 1
|
|
213
213
|
}, 8, ["modelValue"])
|
|
214
214
|
]),
|
|
215
|
+
vue.createCommentVNode(" \u76EE\u5F55 "),
|
|
216
|
+
vue.createVNode(vue.unref(webVue.TreeSelect), {
|
|
217
|
+
modelValue: filter.value.directory_id,
|
|
218
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => filter.value.directory_id = $event),
|
|
219
|
+
data: vue.unref(tree),
|
|
220
|
+
placeholder: "\u8BF7\u9009\u62E9\u76EE\u5F55",
|
|
221
|
+
style: { "width": "120px" },
|
|
222
|
+
"field-names": {
|
|
223
|
+
title: "alias",
|
|
224
|
+
key: "id"
|
|
225
|
+
},
|
|
226
|
+
"allow-clear": ""
|
|
227
|
+
}, null, 8, ["modelValue", "data"]),
|
|
215
228
|
vue.createCommentVNode(" \u7D20\u6750\u7C7B\u578B "),
|
|
216
229
|
vue.createElementVNode("div", _hoisted_5, [
|
|
217
230
|
vue.createVNode(vue.unref(webVue.Select), {
|
|
218
231
|
modelValue: filter.value.catalog,
|
|
219
|
-
"onUpdate:modelValue": _cache[
|
|
232
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => filter.value.catalog = $event),
|
|
220
233
|
disabled: (_a = vue.unref(filterOptions)) == null ? void 0 : _a.mediaTypeStrict,
|
|
221
234
|
"allow-clear": "",
|
|
222
235
|
placeholder: "\u7C7B\u578B",
|
|
223
|
-
multiple: ""
|
|
236
|
+
multiple: "",
|
|
237
|
+
"max-tag-count": 1
|
|
224
238
|
}, {
|
|
225
239
|
default: vue.withCtx(() => [
|
|
226
240
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(resourceCatalog), (item) => {
|
|
@@ -234,16 +248,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
234
248
|
_: 1
|
|
235
249
|
}, 8, ["modelValue", "disabled"])
|
|
236
250
|
]),
|
|
237
|
-
vue.createCommentVNode(" \u76EE\u5F55 "),
|
|
238
|
-
vue.createVNode(vue.unref(webVue.TreeSelect), {
|
|
239
|
-
modelValue: filter.value.directory_id,
|
|
240
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => filter.value.directory_id = $event),
|
|
241
|
-
data: vue.unref(tree),
|
|
242
|
-
"load-more": vue.unref(loadDirMore),
|
|
243
|
-
placeholder: "\u8BF7\u9009\u62E9\u76EE\u5F55",
|
|
244
|
-
style: { "width": "180px" },
|
|
245
|
-
"allow-clear": ""
|
|
246
|
-
}, null, 8, ["modelValue", "data", "load-more"]),
|
|
247
251
|
vue.createCommentVNode(" \u65F6\u95F4\u8303\u56F4 "),
|
|
248
252
|
vue.createVNode(vue.unref(webVue.RangePicker), {
|
|
249
253
|
modelValue: rangeTime.value,
|
package/package.json
CHANGED
|
File without changes
|
package/es/appCenter/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface Params {
|
|
2
|
-
repo_id?: string;
|
|
3
|
-
app_id?: number;
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
}
|
|
6
|
-
export declare function getUserRepoActs(BASE_API: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
-
export declare function getPubApps(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
|
-
export declare function getResentApp(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
-
export declare function setResentApp(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
10
|
-
export declare function getBtnSlot(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/es/baseFilter/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated 改为其他方式实现
|
|
4
|
-
* @param filterItemsRef
|
|
5
|
-
* @param dpPannelRef
|
|
6
|
-
* @param moreBtnRef
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
export default function useCalcWidth(filterItemsRef: Ref<HTMLElement | undefined>, dpPannelRef: Ref<HTMLElement | undefined>, moreBtnRef: Ref<HTMLElement | undefined>): {
|
|
10
|
-
pannelArray: Ref<string, string>;
|
|
11
|
-
popperShowFlag: Ref<boolean, boolean>;
|
|
12
|
-
showPopper: () => void;
|
|
13
|
-
initDocWidthListener: () => void;
|
|
14
|
-
initPopper: () => void;
|
|
15
|
-
checkOverflow: () => void;
|
|
16
|
-
};
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
package/es/components.d.ts
DELETED
package/es/config.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
declare const platform: ({
|
|
2
|
-
id: number;
|
|
3
|
-
key: string;
|
|
4
|
-
name: string;
|
|
5
|
-
indexUrl: string;
|
|
6
|
-
isDataAsync: boolean;
|
|
7
|
-
type: string[];
|
|
8
|
-
pfIcon?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
id: number;
|
|
11
|
-
key: string;
|
|
12
|
-
name: string;
|
|
13
|
-
indexUrl: string;
|
|
14
|
-
pfIcon: string;
|
|
15
|
-
isDataAsync: boolean;
|
|
16
|
-
type: string[];
|
|
17
|
-
})[];
|
|
18
|
-
export declare function getPlatformInfoById(id: number): any;
|
|
19
|
-
export declare const accounts: {
|
|
20
|
-
id: number;
|
|
21
|
-
createdAt: string;
|
|
22
|
-
updatedAt: string;
|
|
23
|
-
deletedAt: null;
|
|
24
|
-
thirdId: string;
|
|
25
|
-
authorId: string;
|
|
26
|
-
platformAccountId: string;
|
|
27
|
-
avatar: string;
|
|
28
|
-
name: string;
|
|
29
|
-
platformId: number;
|
|
30
|
-
cookie: string;
|
|
31
|
-
token: string;
|
|
32
|
-
lastRequestAt: number;
|
|
33
|
-
lastSyncAt: number;
|
|
34
|
-
state: number;
|
|
35
|
-
}[];
|
|
36
|
-
export default platform;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
interface Params {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}
|
|
4
|
-
export declare function generateDocPreviewLink(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
export declare function getDocDetailsNew(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
interface Params {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}
|
|
4
|
-
export declare function getCategoryCategoriesTree(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
export declare function getCategoryPath(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
export declare function getCategoryMediaNew(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
-
export declare function checkCommitFulfillment(BASE_API: string, params?: Params): Promise<boolean>;
|
|
8
|
-
export declare function searchMlists(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
-
export declare function getCategorylistsGroups(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
10
|
-
export declare function searchMpaccount(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
-
export declare function getBroadcastList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
12
|
-
export declare function getEqxiuList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
|
-
export declare function getMpContentList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
|
-
export declare function getRevealContent(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
15
|
-
export declare function getConfigurationNew(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
16
|
-
export declare function getReporterContent(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
|
-
export declare function getTypeConfig(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
File without changes
|
package/es/dataTags/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/es/docHistory/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function CompareById2(leftNode: HTMLElement, rightNode: HTMLElement): string;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare function getDocHistory(BASE_API: string, id: number, pub: boolean): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2
|
-
export declare function useDocHistory(BASE_API: string): {
|
|
3
|
-
diffContent: import("vue").Ref<any, any>;
|
|
4
|
-
current: import("vue").Ref<number, number>;
|
|
5
|
-
loading: import("vue").Ref<boolean, boolean>;
|
|
6
|
-
list: import("vue").Ref<any[], any[]>;
|
|
7
|
-
loadData: () => Promise<void>;
|
|
8
|
-
initParams: (mediaId: number, docPub: boolean) => void;
|
|
9
|
-
handleSelect: (idx: number) => Promise<void>;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
File without changes
|
|
File without changes
|
package/es/docPreview/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function generateDocPreviewLink(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
export declare function generateDocPreviewLink(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
3
|
-
export declare const EXPIRE_TIME_OPTIONS: {
|
|
4
|
-
label: string;
|
|
5
|
-
value: number;
|
|
6
|
-
}[];
|
|
7
|
-
declare type ShareDataType = {
|
|
8
|
-
qrCode: string;
|
|
9
|
-
shareUrl: string;
|
|
10
|
-
expiredAt: number;
|
|
11
|
-
};
|
|
12
|
-
export declare function useDocPreview(BASE_API: string, hashid: Ref<string>): {
|
|
13
|
-
genQrCode: (shareUrl: string, selector: string) => void;
|
|
14
|
-
generate: (cancel?: boolean | undefined) => Promise<boolean>;
|
|
15
|
-
cancel: (update?: boolean | undefined) => Promise<void>;
|
|
16
|
-
copy: () => Promise<void>;
|
|
17
|
-
qrCode: Ref<string, string>;
|
|
18
|
-
isPublish: Ref<boolean, boolean>;
|
|
19
|
-
loading: Ref<boolean, boolean>;
|
|
20
|
-
expireTime: Ref<number, number>;
|
|
21
|
-
innerUrl: Ref<string, string>;
|
|
22
|
-
shareData: Ref<{
|
|
23
|
-
qrCode: string;
|
|
24
|
-
shareUrl: string;
|
|
25
|
-
expiredAt: number;
|
|
26
|
-
} | null, ShareDataType | {
|
|
27
|
-
qrCode: string;
|
|
28
|
-
shareUrl: string;
|
|
29
|
-
expiredAt: number;
|
|
30
|
-
} | null>;
|
|
31
|
-
intervalTime: Ref<string, string>;
|
|
32
|
-
};
|
|
33
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
interface Params {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}
|
|
4
|
-
export declare function getDocDetailsNew(BASE_API: string, query: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
export declare function getAllDutyEditor(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
export {};
|