@cmstops/pro-compo 3.9.1-stable.3 → 3.9.1-stable.4
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.min.js.map +1 -1
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +4 -2
- package/es/contentModal/component.js +16 -8
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +2 -1
- package/es/contentModal/components/storeBox/index.js +4 -2
- package/es/dataTags/component.js +10 -5
- package/es/docHistory/component.js +2 -1
- package/es/docPreview/component.js +10 -5
- package/es/editMetaInfo/components/metaInfoForm.js +4 -2
- package/es/imageCrop/component.js +4 -2
- package/es/importData/component.js +6 -3
- package/es/index.js +1 -0
- package/es/mediaFilter/components/DocFilter.js +2 -1
- package/es/resourceGridList/component.js +4 -2
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +4 -2
- package/es/selectAddTo/component.js +127 -0
- package/es/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +169 -0
- package/es/selectAddTo/components/ViewAllColumn/index.js +211 -0
- package/es/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +102 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +195 -0
- package/es/selectAddTo/index.js +7 -0
- package/es/selectAddTo/script/api.js +30 -0
- package/es/selectAddTo/script/useSelectAddToState.js +106 -0
- package/es/selectAddTo/style/css.js +1 -0
- package/es/selectAddTo/style/index.css +3 -0
- package/es/selectAddTo/style/index.js +1 -0
- package/es/selectAddTo/style/index.less +3 -0
- package/es/selectResourceModal/component.js +10 -5
- package/es/selectResourceModal/components/List/ListLocal/Upload.js +2 -1
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +8 -4
- package/es/selectResourceModal/components/List/ListSystem/Filter.js +2 -1
- package/es/selectThumb/component.js +9 -9
- package/es/style.css +57 -0
- package/es/typeIcons/component.js +1 -1
- package/es/userAvater/component.js +2 -1
- package/es/userDirector/component.js +2 -1
- package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +4 -2
- package/lib/contentModal/component.js +16 -8
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/storeBox/index.js +4 -2
- package/lib/dataTags/component.js +10 -5
- package/lib/docHistory/component.js +2 -1
- package/lib/docPreview/component.js +10 -5
- package/lib/editMetaInfo/components/metaInfoForm.js +4 -2
- package/lib/imageCrop/component.js +4 -2
- package/lib/importData/component.js +6 -3
- package/lib/index.js +2 -0
- package/lib/mediaFilter/components/DocFilter.js +2 -1
- package/lib/resourceGridList/component.js +4 -2
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +4 -2
- package/lib/selectAddTo/component.js +128 -0
- package/lib/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +170 -0
- package/lib/selectAddTo/components/ViewAllColumn/index.js +212 -0
- package/lib/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +108 -0
- package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +197 -0
- package/lib/selectAddTo/index.js +8 -0
- package/lib/selectAddTo/script/api.js +35 -0
- package/lib/selectAddTo/script/useSelectAddToState.js +108 -0
- package/lib/selectAddTo/style/css.js +2 -0
- package/lib/selectAddTo/style/index.css +3 -0
- package/lib/selectAddTo/style/index.js +2 -0
- package/lib/selectAddTo/style/index.less +3 -0
- package/lib/selectResourceModal/component.js +10 -5
- package/lib/selectResourceModal/components/List/ListLocal/Upload.js +2 -1
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +8 -4
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +2 -1
- package/lib/selectThumb/component.js +9 -9
- package/lib/typeIcons/component.js +1 -1
- package/lib/userAvater/component.js +2 -1
- package/lib/userDirector/component.js +2 -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 -78
- 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/__demo__/module/DivWrapper.d.ts +0 -268
- package/es/selectResourceModal/__demo__/module/basic.d.ts +0 -299
- 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/hooks/useResponsiveFilter.d.ts +0 -21
- 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
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
var vue = require("vue");
|
|
4
|
+
var webVue = require("@arco-design/web-vue");
|
|
5
|
+
var dayjs = require("dayjs");
|
|
6
|
+
function _interopDefaultLegacy(e) {
|
|
7
|
+
return e && typeof e === "object" && "default" in e ? e : { "default": e };
|
|
8
|
+
}
|
|
9
|
+
var dayjs__default = /* @__PURE__ */ _interopDefaultLegacy(dayjs);
|
|
10
|
+
const useTableColumns = (props, selectedData, isItemChecked, filter) => {
|
|
11
|
+
const columns = vue.ref([
|
|
12
|
+
{
|
|
13
|
+
title: "\u52FE",
|
|
14
|
+
dataIndex: "select",
|
|
15
|
+
slotName: "select",
|
|
16
|
+
width: 40,
|
|
17
|
+
titleSlotName: "selectTitle",
|
|
18
|
+
render: ({ record }) => {
|
|
19
|
+
if (props.typeKey === "series:special_v3") {
|
|
20
|
+
if (record.isLeaf && record.parentId) {
|
|
21
|
+
return vue.h(webVue.Checkbox, {
|
|
22
|
+
modelValue: isItemChecked.value(selectedData.value, record),
|
|
23
|
+
class: "icon"
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return vue.h(webVue.Checkbox, {
|
|
29
|
+
modelValue: isItemChecked.value(selectedData.value, record),
|
|
30
|
+
class: "icon"
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
title: "\u4E13\u9898/\u680F\u76EE\u540D\u79F0",
|
|
36
|
+
dataIndex: "title",
|
|
37
|
+
slotName: "title",
|
|
38
|
+
width: 428
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
title: "\u7F16\u8F91",
|
|
42
|
+
dataIndex: "duty_editor",
|
|
43
|
+
slotName: "duty_editor",
|
|
44
|
+
width: 100
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
title: vue.computed(() => {
|
|
48
|
+
var _a;
|
|
49
|
+
return ((_a = filter.value) == null ? void 0 : _a.order) === "pub_time" ? "\u53D1\u5E03\u65F6\u95F4" : "\u521B\u5EFA\u65F6\u95F4";
|
|
50
|
+
}),
|
|
51
|
+
dataIndex: vue.computed(
|
|
52
|
+
() => {
|
|
53
|
+
var _a;
|
|
54
|
+
return ((_a = filter.value) == null ? void 0 : _a.order) === "pub_time" ? "pub_time" : "created_at";
|
|
55
|
+
}
|
|
56
|
+
),
|
|
57
|
+
slotName: "pub_time",
|
|
58
|
+
width: 150,
|
|
59
|
+
render: ({ record }) => {
|
|
60
|
+
var _a;
|
|
61
|
+
if (((_a = filter.value) == null ? void 0 : _a.order) === "pub_time") {
|
|
62
|
+
const raw2 = record.pub_time;
|
|
63
|
+
if (!raw2)
|
|
64
|
+
return "--";
|
|
65
|
+
const d2 = typeof raw2 === "number" || /^\d+$/.test(raw2) ? dayjs__default["default"].unix(Number(raw2)) : dayjs__default["default"](raw2);
|
|
66
|
+
return d2.isValid() ? d2.format("YYYY-M-D HH:mm") : raw2;
|
|
67
|
+
}
|
|
68
|
+
const raw = record.created_at;
|
|
69
|
+
if (!raw)
|
|
70
|
+
return "--";
|
|
71
|
+
const d = dayjs__default["default"](raw);
|
|
72
|
+
return d.isValid() ? d.format("YYYY-M-D HH:mm") : raw;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
]);
|
|
76
|
+
const politicalColumns = vue.ref([
|
|
77
|
+
{
|
|
78
|
+
title: "\u52FE",
|
|
79
|
+
dataIndex: "select",
|
|
80
|
+
slotName: "select",
|
|
81
|
+
width: 40,
|
|
82
|
+
titleSlotName: "selectTitle"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
title: "\u653F\u60C5\u4EBA\u7269\u59D3\u540D",
|
|
86
|
+
dataIndex: "name",
|
|
87
|
+
slotName: "name",
|
|
88
|
+
width: 428
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
title: "\u804C\u4F4D",
|
|
92
|
+
dataIndex: "position",
|
|
93
|
+
slotName: "position",
|
|
94
|
+
width: 100
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
title: "\u5730\u533A",
|
|
98
|
+
dataIndex: "city_alias",
|
|
99
|
+
slotName: "city_alias",
|
|
100
|
+
width: 150
|
|
101
|
+
}
|
|
102
|
+
]);
|
|
103
|
+
return {
|
|
104
|
+
columns,
|
|
105
|
+
politicalColumns
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
exports.useTableColumns = useTableColumns;
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
var vue = require("vue");
|
|
4
|
+
var webVue = require("@arco-design/web-vue");
|
|
5
|
+
var config = require("../../../../config.js");
|
|
6
|
+
var api = require("../../../script/api.js");
|
|
7
|
+
var batch = require("../../../../hooks/batch.js");
|
|
8
|
+
const useViewAllColumnState = (props, emit) => {
|
|
9
|
+
const _maxSelect = props.maxSelect || 100;
|
|
10
|
+
const selectedData = vue.ref([]);
|
|
11
|
+
const mediaFileData = vue.ref([]);
|
|
12
|
+
const filter = vue.ref(null);
|
|
13
|
+
const dataLoading = vue.ref(false);
|
|
14
|
+
const group_id = vue.ref(0);
|
|
15
|
+
const page = vue.ref({
|
|
16
|
+
index: 1,
|
|
17
|
+
size: 30,
|
|
18
|
+
total: 0
|
|
19
|
+
});
|
|
20
|
+
const tempSelectedData = vue.computed(() => props.defaultSelectedData || []);
|
|
21
|
+
vue.watch(
|
|
22
|
+
() => tempSelectedData.value,
|
|
23
|
+
(val) => {
|
|
24
|
+
selectedData.value = val;
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
const importantBanner = vue.computed(() => {
|
|
28
|
+
if (!props.banner || props.banner === "all")
|
|
29
|
+
return false;
|
|
30
|
+
return !!props.banner;
|
|
31
|
+
});
|
|
32
|
+
const { isItemChecked, tableCellMouseEnter, tableCellMouseLeave } = batch();
|
|
33
|
+
const selectTableCell = (record) => {
|
|
34
|
+
if (props.typeKey === "series:special_v3" ? record.isLeaf && record.parentId : true) {
|
|
35
|
+
selectData(record);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
const selectTableAll = (checked) => {
|
|
39
|
+
if (checked) {
|
|
40
|
+
selectedData.value = [];
|
|
41
|
+
mediaFileData.value.forEach((item) => selectData(item));
|
|
42
|
+
} else {
|
|
43
|
+
selectedData.value = [];
|
|
44
|
+
}
|
|
45
|
+
emitChange();
|
|
46
|
+
};
|
|
47
|
+
const selectData = (record) => {
|
|
48
|
+
if (importantBanner.value) {
|
|
49
|
+
const { cover } = record;
|
|
50
|
+
if (!(cover == null ? void 0 : cover.banner)) {
|
|
51
|
+
return webVue.Message.warning({ content: "\u8BE5\u5185\u5BB9\u4E0D\u5177\u5907\u72EC\u7ACB\u8F6E\u64AD\u56FE" });
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
addDataToSelectedList(record);
|
|
55
|
+
return true;
|
|
56
|
+
};
|
|
57
|
+
const addDataToSelectedList = async (record) => {
|
|
58
|
+
const index = selectedData.value.findIndex((v) => v.id === record.id);
|
|
59
|
+
if (selectedData.value.length < _maxSelect) {
|
|
60
|
+
if (index === -1) {
|
|
61
|
+
selectedData.value.push(record);
|
|
62
|
+
} else {
|
|
63
|
+
selectedData.value.splice(index, 1);
|
|
64
|
+
}
|
|
65
|
+
emitChange();
|
|
66
|
+
} else {
|
|
67
|
+
if (index === -1) {
|
|
68
|
+
selectedData.value.splice(selectedData.value.length - 1, 1);
|
|
69
|
+
selectedData.value.push(record);
|
|
70
|
+
} else {
|
|
71
|
+
selectedData.value.splice(index, 1);
|
|
72
|
+
}
|
|
73
|
+
emitChange();
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
const emitChange = () => {
|
|
77
|
+
emit("change", selectedData.value);
|
|
78
|
+
};
|
|
79
|
+
const search = (_filter) => {
|
|
80
|
+
var _a;
|
|
81
|
+
_filter = { ..._filter };
|
|
82
|
+
const where = [];
|
|
83
|
+
_filter.precise_kw && where.push(`precise_kw:${_filter.precise_kw}`);
|
|
84
|
+
_filter.keywords && where.push(`kw:${_filter.keywords}`);
|
|
85
|
+
_filter.type && where.push(`series:${_filter.type}`);
|
|
86
|
+
_filter.state && where.push(`state:${_filter.state}`);
|
|
87
|
+
_filter.cover_type && where.push(`cover_type:${_filter.cover_type}`);
|
|
88
|
+
_filter.banner && where.push(`banner:${_filter.banner}`);
|
|
89
|
+
if (((_a = _filter.publish_date) == null ? void 0 : _a.length) === 2) {
|
|
90
|
+
where.push(`publish_from:${_filter.publish_date[0] / 1e3}`);
|
|
91
|
+
where.push(`publish_to:${_filter.publish_date[1] / 1e3}`);
|
|
92
|
+
}
|
|
93
|
+
_filter.where = where;
|
|
94
|
+
filter.value = _filter;
|
|
95
|
+
page.value.index = 1;
|
|
96
|
+
loadData();
|
|
97
|
+
};
|
|
98
|
+
const pageChangeHandle = (index) => {
|
|
99
|
+
page.value.index = index;
|
|
100
|
+
loadData();
|
|
101
|
+
};
|
|
102
|
+
vue.watch(
|
|
103
|
+
() => group_id.value,
|
|
104
|
+
() => {
|
|
105
|
+
page.value.index = 1;
|
|
106
|
+
loadData();
|
|
107
|
+
}
|
|
108
|
+
);
|
|
109
|
+
const loadData = async () => {
|
|
110
|
+
var _a, _b;
|
|
111
|
+
const params = {
|
|
112
|
+
limit: page.value.size,
|
|
113
|
+
offset: page.value.size * (page.value.index - 1),
|
|
114
|
+
where: ["state:15|19"]
|
|
115
|
+
};
|
|
116
|
+
params.where.push(props.typeKey);
|
|
117
|
+
if (filter.value) {
|
|
118
|
+
const _filter = filter.value;
|
|
119
|
+
params.order = _filter.order;
|
|
120
|
+
params.sort = _filter.sort;
|
|
121
|
+
if (_filter.where) {
|
|
122
|
+
params.where = [...params.where, ..._filter.where];
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
params.where = params.where.join(",");
|
|
126
|
+
dataLoading.value = true;
|
|
127
|
+
try {
|
|
128
|
+
let response;
|
|
129
|
+
if (props.typeKey && props.typeKey !== "ZQ") {
|
|
130
|
+
response = await api.getCategoryMediaNew(config.DEFAULT_BASE_API, params);
|
|
131
|
+
} else {
|
|
132
|
+
params.keyword = ((_a = filter.value) == null ? void 0 : _a.precise_kw) || ((_b = filter.value) == null ? void 0 : _b.keywords) || "";
|
|
133
|
+
params.state = 2;
|
|
134
|
+
response = await api.getPoliticals(config.DEFAULT_BASE_API, params);
|
|
135
|
+
}
|
|
136
|
+
const { code, message } = response;
|
|
137
|
+
if (code === 0) {
|
|
138
|
+
mediaFileData.value = (message.data || message.datas).map((v) => ({
|
|
139
|
+
...v,
|
|
140
|
+
catalog: "doc",
|
|
141
|
+
target_id: v.id,
|
|
142
|
+
target_type: 3,
|
|
143
|
+
pub_time: v.pub_time || v.created_at,
|
|
144
|
+
update_time: v.updated_at,
|
|
145
|
+
pub_user_alias: v.author_alias,
|
|
146
|
+
key: v.id,
|
|
147
|
+
isLeaf: props.typeKey !== "series:special_v3"
|
|
148
|
+
}));
|
|
149
|
+
page.value.total = message.total || message.count;
|
|
150
|
+
}
|
|
151
|
+
} catch (error) {
|
|
152
|
+
console.error("Failed to load data:", error);
|
|
153
|
+
} finally {
|
|
154
|
+
dataLoading.value = false;
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
const loadMore = async (record, done) => {
|
|
158
|
+
try {
|
|
159
|
+
const res = await api.getMlists(config.DEFAULT_BASE_API, {
|
|
160
|
+
rid: props.rid,
|
|
161
|
+
gid: record.special_id
|
|
162
|
+
});
|
|
163
|
+
setTimeout(() => {
|
|
164
|
+
done(
|
|
165
|
+
res.message.map((item) => ({
|
|
166
|
+
...item,
|
|
167
|
+
isLeaf: true,
|
|
168
|
+
key: item.id,
|
|
169
|
+
parentName: record.title,
|
|
170
|
+
parentId: record.id
|
|
171
|
+
}))
|
|
172
|
+
);
|
|
173
|
+
}, 2e3);
|
|
174
|
+
} catch (error) {
|
|
175
|
+
console.error("Failed to load more data:", error);
|
|
176
|
+
done([]);
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
return {
|
|
180
|
+
selectedData,
|
|
181
|
+
mediaFileData,
|
|
182
|
+
filter,
|
|
183
|
+
dataLoading,
|
|
184
|
+
group_id,
|
|
185
|
+
page,
|
|
186
|
+
isItemChecked,
|
|
187
|
+
tableCellMouseEnter,
|
|
188
|
+
tableCellMouseLeave,
|
|
189
|
+
selectTableCell,
|
|
190
|
+
selectTableAll,
|
|
191
|
+
search,
|
|
192
|
+
pageChangeHandle,
|
|
193
|
+
loadData,
|
|
194
|
+
loadMore
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
exports.useViewAllColumnState = useViewAllColumnState;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
var request = require("../../utils/request.js");
|
|
4
|
+
function getCategoryMediaNew(BASE_API, params) {
|
|
5
|
+
return request(BASE_API, {
|
|
6
|
+
url: `/poplar/v3/s/documents`,
|
|
7
|
+
method: "get",
|
|
8
|
+
params
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
function getPoliticals(BASE_API, params) {
|
|
12
|
+
return request(BASE_API, {
|
|
13
|
+
url: "/poplar/v2/politics/list",
|
|
14
|
+
method: "get",
|
|
15
|
+
params
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function getMlists(BASE_API, params) {
|
|
19
|
+
return request(BASE_API, {
|
|
20
|
+
url: `/poplar/v2/mlists`,
|
|
21
|
+
method: "get",
|
|
22
|
+
params
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function getConfigurationNew(BASE_API, params) {
|
|
26
|
+
return request(BASE_API, {
|
|
27
|
+
url: "/poplar/v2/configuration",
|
|
28
|
+
method: "get",
|
|
29
|
+
params
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
exports.getCategoryMediaNew = getCategoryMediaNew;
|
|
33
|
+
exports.getConfigurationNew = getConfigurationNew;
|
|
34
|
+
exports.getMlists = getMlists;
|
|
35
|
+
exports.getPoliticals = getPoliticals;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
var vue = require("vue");
|
|
4
|
+
var api = require("./api.js");
|
|
5
|
+
var config = require("../../config.js");
|
|
6
|
+
var user = require("../../hooks/user.js");
|
|
7
|
+
const useSelectAddToState = (props, emit) => {
|
|
8
|
+
const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
|
|
9
|
+
const visible = vue.computed({
|
|
10
|
+
get() {
|
|
11
|
+
return props.visible;
|
|
12
|
+
},
|
|
13
|
+
set(value) {
|
|
14
|
+
setVisible(value);
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
const selectedData = vue.ref([]);
|
|
18
|
+
const configData = vue.ref({});
|
|
19
|
+
const { userInfo, getUserInfoHandle } = user["default"](BASE_API);
|
|
20
|
+
const title = vue.computed(() => {
|
|
21
|
+
const titleMap = {
|
|
22
|
+
"series:video_album": "\u6DFB\u52A0\u81F3\u89C6\u9891\u5408\u96C6",
|
|
23
|
+
"series:special_v3": "\u6DFB\u52A0\u81F3\u4E13\u9898",
|
|
24
|
+
"series:audio_album": "\u6DFB\u52A0\u81F3\u97F3\u9891\u5408\u96C6",
|
|
25
|
+
"series:article_album": "\u6DFB\u52A0\u81F3\u653F\u60C5\u4EBA\u7269\u76F8\u5173\u62A5\u9053"
|
|
26
|
+
};
|
|
27
|
+
return titleMap[props.typeKey || ""] || "";
|
|
28
|
+
});
|
|
29
|
+
const hasSelected = vue.computed(() => selectedData.value.length > 0);
|
|
30
|
+
const typeDataController = vue.computed(() => {
|
|
31
|
+
if (!props.typeData)
|
|
32
|
+
return {};
|
|
33
|
+
try {
|
|
34
|
+
return JSON.parse(JSON.stringify(props.typeData));
|
|
35
|
+
} catch (e) {
|
|
36
|
+
console.warn("Failed to parse typeData:", e);
|
|
37
|
+
return {};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
const setVisible = (bool) => {
|
|
41
|
+
emit("update:visible", bool);
|
|
42
|
+
};
|
|
43
|
+
const selectedDataChangeHandle = (data) => {
|
|
44
|
+
selectedData.value = data;
|
|
45
|
+
};
|
|
46
|
+
const handleOk = () => {
|
|
47
|
+
setVisible(false);
|
|
48
|
+
};
|
|
49
|
+
const handleCancel = () => {
|
|
50
|
+
setVisible(false);
|
|
51
|
+
};
|
|
52
|
+
const comfirm = () => {
|
|
53
|
+
emit("comfirm", JSON.parse(JSON.stringify(selectedData.value)));
|
|
54
|
+
};
|
|
55
|
+
const HandleOpen = () => {
|
|
56
|
+
selectedData.value = props.defaultSelectedData || [];
|
|
57
|
+
};
|
|
58
|
+
const HandleClose = () => {
|
|
59
|
+
selectedData.value = [];
|
|
60
|
+
};
|
|
61
|
+
const tabsChange = () => {
|
|
62
|
+
selectedData.value = [];
|
|
63
|
+
};
|
|
64
|
+
const loadConfig = async () => {
|
|
65
|
+
var _a;
|
|
66
|
+
try {
|
|
67
|
+
const res = await api.getConfigurationNew(BASE_API, {
|
|
68
|
+
module: "third_party_services"
|
|
69
|
+
});
|
|
70
|
+
if (res.code === 0 && ((_a = res.message) == null ? void 0 : _a.length)) {
|
|
71
|
+
res.message.forEach((item) => {
|
|
72
|
+
configData.value[item.key] = JSON.parse(item.value);
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
} catch (error) {
|
|
76
|
+
console.error("Failed to load configuration:", error);
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
const checkServiceEnable = (key) => {
|
|
80
|
+
const data = configData.value[key];
|
|
81
|
+
if (!data)
|
|
82
|
+
return false;
|
|
83
|
+
if (!data.enable && typeof data.enable !== "undefined")
|
|
84
|
+
return false;
|
|
85
|
+
return true;
|
|
86
|
+
};
|
|
87
|
+
return {
|
|
88
|
+
visible,
|
|
89
|
+
title,
|
|
90
|
+
selectedData,
|
|
91
|
+
hasSelected,
|
|
92
|
+
typeDataController,
|
|
93
|
+
userInfo,
|
|
94
|
+
configData,
|
|
95
|
+
setVisible,
|
|
96
|
+
selectedDataChangeHandle,
|
|
97
|
+
handleOk,
|
|
98
|
+
handleCancel,
|
|
99
|
+
comfirm,
|
|
100
|
+
HandleOpen,
|
|
101
|
+
HandleClose,
|
|
102
|
+
tabsChange,
|
|
103
|
+
loadConfig,
|
|
104
|
+
checkServiceEnable,
|
|
105
|
+
getUserInfoHandle
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
exports.useSelectAddToState = useSelectAddToState;
|
|
@@ -125,7 +125,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
125
125
|
default: vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
126
126
|
vue.createTextVNode("\u53D6\u6D88")
|
|
127
127
|
])),
|
|
128
|
-
_: 1
|
|
128
|
+
_: 1,
|
|
129
|
+
__: [1]
|
|
129
130
|
}, 8, ["onClick"]),
|
|
130
131
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
131
132
|
type: "primary",
|
|
@@ -134,7 +135,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
134
135
|
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
|
135
136
|
vue.createTextVNode(" \u786E\u5B9A ")
|
|
136
137
|
])),
|
|
137
|
-
_: 1
|
|
138
|
+
_: 1,
|
|
139
|
+
__: [2]
|
|
138
140
|
})
|
|
139
141
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
140
142
|
], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
@@ -144,7 +146,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
144
146
|
default: vue.withCtx(() => _cache[3] || (_cache[3] = [
|
|
145
147
|
vue.createTextVNode("\u53D6\u6D88")
|
|
146
148
|
])),
|
|
147
|
-
_: 1
|
|
149
|
+
_: 1,
|
|
150
|
+
__: [3]
|
|
148
151
|
}, 8, ["onClick"]),
|
|
149
152
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
150
153
|
disabled: isEmpty,
|
|
@@ -154,7 +157,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
154
157
|
default: vue.withCtx(() => _cache[4] || (_cache[4] = [
|
|
155
158
|
vue.createTextVNode(" \u7F16\u8F91 ")
|
|
156
159
|
])),
|
|
157
|
-
_: 2
|
|
160
|
+
_: 2,
|
|
161
|
+
__: [4]
|
|
158
162
|
}, 1032, ["disabled", "onClick"]),
|
|
159
163
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
160
164
|
disabled: isEmpty,
|
|
@@ -164,7 +168,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
164
168
|
default: vue.withCtx(() => _cache[5] || (_cache[5] = [
|
|
165
169
|
vue.createTextVNode(" \u4F7F\u7528 ")
|
|
166
170
|
])),
|
|
167
|
-
_: 2
|
|
171
|
+
_: 2,
|
|
172
|
+
__: [5]
|
|
168
173
|
}, 1032, ["disabled", "onClick"])
|
|
169
174
|
], 64))
|
|
170
175
|
]),
|
|
@@ -259,13 +259,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
259
259
|
default: vue.withCtx(() => _cache[12] || (_cache[12] = [
|
|
260
260
|
vue.createTextVNode("\u7CBE\u51C6\u641C")
|
|
261
261
|
])),
|
|
262
|
-
_: 1
|
|
262
|
+
_: 1,
|
|
263
|
+
__: [12]
|
|
263
264
|
}),
|
|
264
265
|
vue.createVNode(vue.unref(webVue.Doption), { value: 1 }, {
|
|
265
266
|
default: vue.withCtx(() => _cache[13] || (_cache[13] = [
|
|
266
267
|
vue.createTextVNode("\u6A21\u7CCA\u641C")
|
|
267
268
|
])),
|
|
268
|
-
_: 1
|
|
269
|
+
_: 1,
|
|
270
|
+
__: [13]
|
|
269
271
|
})
|
|
270
272
|
]),
|
|
271
273
|
default: vue.withCtx(() => [
|
|
@@ -404,7 +406,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
404
406
|
default: vue.withCtx(() => _cache[14] || (_cache[14] = [
|
|
405
407
|
vue.createTextVNode(" \u91CD\u7F6E ")
|
|
406
408
|
])),
|
|
407
|
-
_: 1
|
|
409
|
+
_: 1,
|
|
410
|
+
__: [14]
|
|
408
411
|
}))
|
|
409
412
|
], 512), [
|
|
410
413
|
[vue.vShow, !isEmpty.value]
|
|
@@ -429,7 +432,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
429
432
|
default: vue.withCtx(() => [
|
|
430
433
|
_cache[15] || (_cache[15] = vue.createTextVNode(" \u4E0A\u4F20 "))
|
|
431
434
|
]),
|
|
432
|
-
_: 1
|
|
435
|
+
_: 1,
|
|
436
|
+
__: [15]
|
|
433
437
|
}))
|
|
434
438
|
])
|
|
435
439
|
]),
|
|
@@ -517,15 +517,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
517
517
|
}), 128))
|
|
518
518
|
]),
|
|
519
519
|
_: 1
|
|
520
|
-
}, 8, ["modelValue"])
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
520
|
+
}, 8, ["modelValue"]),
|
|
521
|
+
hasCover.value ? (vue.openBlock(), vue.createBlock(colorPalette, {
|
|
522
|
+
key: 0,
|
|
523
|
+
"style-data": styleData.value,
|
|
524
|
+
model: "cover",
|
|
525
|
+
style: { "margin-top": "10px" },
|
|
526
|
+
onChange: colorChange
|
|
527
|
+
}, null, 8, ["style-data"])) : vue.createCommentVNode("v-if", true)
|
|
528
|
+
], 64)) : vue.createCommentVNode("v-if", true)
|
|
529
529
|
])
|
|
530
530
|
], 2),
|
|
531
531
|
_ctx.mode === "doc" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
@@ -36,7 +36,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
36
36
|
vue.createVNode(vue.unref(vueCmstopIcons.IconYinpinji), { style: { "color": "#1fb7c2" } })
|
|
37
37
|
], 2112)) : props.doc && props.type === "video_album" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 7 }, [
|
|
38
38
|
vue.createCommentVNode(" \u89C6\u9891\u96C6 "),
|
|
39
|
-
vue.createVNode(vue.unref(vueCmstopIcons.IconShipinji))
|
|
39
|
+
vue.createVNode(vue.unref(vueCmstopIcons.IconShipinji), { style: { "color": "#f05050" } })
|
|
40
40
|
], 2112)) : props.doc && props.type === "mini_program" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 8 }, [
|
|
41
41
|
vue.createCommentVNode(" \u89C6\u9891\u96C6 "),
|
|
42
42
|
vue.createVNode(vue.unref(vueCmstopIcons.IconMiniprogram))
|
|
@@ -229,7 +229,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
229
229
|
default: vue.withCtx(() => _cache[0] || (_cache[0] = [
|
|
230
230
|
vue.createTextVNode("\u5168\u90E8\u6E05\u9664")
|
|
231
231
|
])),
|
|
232
|
-
_: 1
|
|
232
|
+
_: 1,
|
|
233
|
+
__: [0]
|
|
233
234
|
})
|
|
234
235
|
]),
|
|
235
236
|
vue.createVNode(vue.unref(webVue.Scrollbar), {
|
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 {};
|