@cmstops/pro-compo 3.9.1-rc.0 → 3.9.1-rc.10
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/README.md +134 -107
- package/dist/index.css +49 -4
- package/dist/index.min.css +1 -1
- package/dist/index.min.js.map +1 -1
- package/es/baseFilter/component.js +71 -14
- package/es/config.js +1 -1
- package/es/contentDetailList/component.js +24 -0
- package/es/contentDetailList/components/Content/index.js +2 -1
- package/es/contentDetailList/components/Doc/index.js +6 -0
- 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 +43 -13
- package/es/docHistory/scripts/diff.js +4 -3
- package/es/docHistory/style/index.css +4 -0
- package/es/docHistory/style/index.less +37 -32
- package/es/docPreview/component.js +10 -5
- package/es/editMetaInfo/components/metaInfoForm.js +4 -2
- package/es/hooks/useAttachement.js +42 -2
- package/es/hooks/usePopper.js +3 -3
- package/es/hooks/useUpload.js +43 -4
- package/es/imageCrop/component.js +4 -2
- package/es/importData/component.js +6 -3
- package/es/index.css +49 -4
- 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/selectResourceModal/component.js +10 -5
- package/es/selectResourceModal/components/List/ListLocal/Upload.js +2 -1
- package/es/selectResourceModal/components/List/ListLocal/index.js +9 -4
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +213 -82
- package/es/selectResourceModal/components/List/ListNormal/index.js +23 -7
- package/es/selectResourceModal/components/List/ListSystem/Filter.js +2 -1
- package/es/selectResourceModal/hooks/useResponsiveFilter.js +142 -0
- package/es/selectResourceModal/scripts/useCompoLf.js +1 -1
- package/es/selectResourceModal/style/index.css +45 -4
- package/es/selectResourceModal/style/index.less +55 -41
- package/es/selectResourceModal/style/list.less +203 -167
- package/es/selectThumb/component.js +16 -27
- package/es/userAvater/component.js +2 -1
- package/es/userDirector/component.js +2 -1
- package/es/utils/index.js +6 -6
- package/lib/baseFilter/component.js +69 -12
- package/lib/config.js +1 -1
- package/lib/contentDetailList/component.js +24 -0
- package/lib/contentDetailList/components/Content/index.js +2 -1
- package/lib/contentDetailList/components/Doc/index.js +6 -0
- 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 +41 -11
- package/lib/docHistory/scripts/diff.js +4 -3
- package/lib/docHistory/style/index.css +4 -0
- package/lib/docHistory/style/index.less +37 -32
- package/lib/docPreview/component.js +10 -5
- package/lib/editMetaInfo/components/metaInfoForm.js +4 -2
- package/lib/hooks/useAttachement.js +42 -0
- package/lib/hooks/usePopper.js +3 -3
- package/lib/hooks/useUpload.js +43 -3
- package/lib/imageCrop/component.js +4 -2
- package/lib/importData/component.js +6 -3
- package/lib/index.css +49 -4
- 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/selectResourceModal/component.js +10 -5
- package/lib/selectResourceModal/components/List/ListLocal/Upload.js +2 -1
- package/lib/selectResourceModal/components/List/ListLocal/index.js +7 -2
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +210 -79
- package/lib/selectResourceModal/components/List/ListNormal/index.js +22 -6
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +2 -1
- package/lib/selectResourceModal/hooks/useResponsiveFilter.js +144 -0
- package/lib/selectResourceModal/scripts/useCompoLf.js +1 -1
- package/lib/selectResourceModal/style/index.css +45 -4
- package/lib/selectResourceModal/style/index.less +55 -41
- package/lib/selectResourceModal/style/list.less +203 -167
- package/lib/selectThumb/component.js +16 -27
- package/lib/userAvater/component.js +2 -1
- package/lib/userDirector/component.js +2 -1
- package/lib/utils/index.js +6 -6
- package/package.json +138 -138
- 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 -34
- 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
package/lib/utils/index.js
CHANGED
|
@@ -144,13 +144,13 @@ async function copyContent(content) {
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
function mediaTime(v) {
|
|
147
|
-
const h = Math.floor(v /
|
|
148
|
-
const m = Math.floor(
|
|
149
|
-
const s = Math.floor(v
|
|
147
|
+
const h = Math.floor(v / 3600);
|
|
148
|
+
const m = Math.floor(v % 3600 / 60);
|
|
149
|
+
const s = Math.floor(v % 60);
|
|
150
150
|
let ret = "";
|
|
151
|
-
ret += `${h < 10 ? `0${h}` : h
|
|
152
|
-
ret += `${m < 10 ? `0${m}` : m
|
|
153
|
-
ret += s < 10 ? `0${s}` : s
|
|
151
|
+
ret += `${h < 10 ? `0${h}` : h}:`;
|
|
152
|
+
ret += `${m < 10 ? `0${m}` : m}:`;
|
|
153
|
+
ret += s < 10 ? `0${s}` : s;
|
|
154
154
|
return ret;
|
|
155
155
|
}
|
|
156
156
|
exports.copyContent = copyContent;
|
package/package.json
CHANGED
|
@@ -1,138 +1,138 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@cmstops/pro-compo",
|
|
3
|
-
"version": "3.9.1-rc.
|
|
4
|
-
"description": "",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"vue",
|
|
7
|
-
"arco-design"
|
|
8
|
-
],
|
|
9
|
-
"author": "",
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"main": "dist/index.cjs.js",
|
|
12
|
-
"module": "dist/index.esm.js",
|
|
13
|
-
"types": "dist/index.d.ts",
|
|
14
|
-
"umd": {
|
|
15
|
-
"file": "dist/index.min.js",
|
|
16
|
-
"style": "dist/index.min.css",
|
|
17
|
-
"module": "ArcoComponents"
|
|
18
|
-
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"dev": "start-storybook STORYBOOK_ENV=dev -p 9528",
|
|
21
|
-
"build": "npm run build:component && npm run build:style && npm run dtsgen",
|
|
22
|
-
"build:component": "arco-vue-scripts build:material-library",
|
|
23
|
-
"build:style": "arco-vue-scripts build:style -M",
|
|
24
|
-
"dtsgen": "arco-vue-scripts dtsgen 'components/**/*.{ts,tsx,vue}'",
|
|
25
|
-
"docgen": "arco-vue-scripts docgen",
|
|
26
|
-
"build:doc": "npx storybook build",
|
|
27
|
-
"test": "arco-vue-scripts test",
|
|
28
|
-
"add:component": "node ./scripts/add-component.js",
|
|
29
|
-
"prepublishOnly": "npm run build"
|
|
30
|
-
},
|
|
31
|
-
"husky": {
|
|
32
|
-
"hooks": {
|
|
33
|
-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
34
|
-
"pre-commit": "lint-staged"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"lint-staged": {
|
|
38
|
-
"*.{js,ts,jsx,tsx,vue}": [
|
|
39
|
-
"eslint --fix",
|
|
40
|
-
"prettier --write"
|
|
41
|
-
],
|
|
42
|
-
"*.{less,css}": [
|
|
43
|
-
"stylelint --fix",
|
|
44
|
-
"prettier --write"
|
|
45
|
-
]
|
|
46
|
-
},
|
|
47
|
-
"peerDependencies": {
|
|
48
|
-
"@arco-design/web-vue": "~2",
|
|
49
|
-
"@arco-iconbox/vue-cmstop-icons": "^0.0.34",
|
|
50
|
-
"@popperjs/core": "^2.11.8",
|
|
51
|
-
"colorthief": "^2.4.0",
|
|
52
|
-
"cropperjs": "^1.6.1",
|
|
53
|
-
"dayjs": "^1.11.9",
|
|
54
|
-
"diff": "^5.2.0",
|
|
55
|
-
"gif-to-canvas": "^1.0.0",
|
|
56
|
-
"gif.js": "^0.2.0",
|
|
57
|
-
"tus-js-client": "^3.1.1",
|
|
58
|
-
"vue": "^3.2.0",
|
|
59
|
-
"vuedraggable": "^4.1.0"
|
|
60
|
-
},
|
|
61
|
-
"devDependencies": {
|
|
62
|
-
"@arco-design/web-vue": "~2",
|
|
63
|
-
"@arco-iconbox/vue-cmstop-icons": "^0.0.34",
|
|
64
|
-
"@babel/core": "^7.14.6",
|
|
65
|
-
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
66
|
-
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
67
|
-
"@babel/preset-env": "^7.14.7",
|
|
68
|
-
"@babel/preset-typescript": "^7.14.5",
|
|
69
|
-
"@cmstops/arco-vue-scripts": "^0.2.11",
|
|
70
|
-
"@commitlint/cli": "^11.0.0",
|
|
71
|
-
"@commitlint/config-conventional": "^12.0.1",
|
|
72
|
-
"@popperjs/core": "^2.11.8",
|
|
73
|
-
"@storybook/addon-actions": "^6.3.0",
|
|
74
|
-
"@storybook/addon-docs": "^7.6.7",
|
|
75
|
-
"@storybook/addon-essentials": "^6.3.0",
|
|
76
|
-
"@storybook/addon-links": "^6.3.0",
|
|
77
|
-
"@storybook/builder-webpack5": "^6.5.9",
|
|
78
|
-
"@storybook/manager-webpack5": "^6.5.9",
|
|
79
|
-
"@storybook/vue3": "^6.3.0",
|
|
80
|
-
"@types/diff": "^5.2.1",
|
|
81
|
-
"@types/fs-extra": "^9.0.6",
|
|
82
|
-
"@types/jest": "^29.5.5",
|
|
83
|
-
"@types/node": "^20.6.2",
|
|
84
|
-
"@types/tus-js-client": "1.5.1",
|
|
85
|
-
"@typescript-eslint/eslint-plugin": "^4.18.0",
|
|
86
|
-
"@typescript-eslint/parser": "^4.12.0",
|
|
87
|
-
"@vue/babel-plugin-jsx": "^1.0.6",
|
|
88
|
-
"@vue/test-utils": "^2.0.0-beta.14",
|
|
89
|
-
"axios": "^1.7.7",
|
|
90
|
-
"babel-loader": "^8.2.2",
|
|
91
|
-
"colorthief": "^2.4.0",
|
|
92
|
-
"cropperjs": "^1.6.1",
|
|
93
|
-
"dayjs": "^1.11.9",
|
|
94
|
-
"diff": "^5.2.0",
|
|
95
|
-
"eslint": "^7.21.0",
|
|
96
|
-
"eslint-config-airbnb-base": "^14.2.1",
|
|
97
|
-
"eslint-config-prettier": "^8.3.0",
|
|
98
|
-
"eslint-import-resolver-typescript": "^2.4.0",
|
|
99
|
-
"eslint-plugin-import": "^2.22.1",
|
|
100
|
-
"eslint-plugin-prettier": "^3.3.1",
|
|
101
|
-
"eslint-plugin-vue": "^7.7.0",
|
|
102
|
-
"fast-glob": "^3.2.7",
|
|
103
|
-
"fs-extra": "^9.1.0",
|
|
104
|
-
"gif-to-canvas": "^1.0.0",
|
|
105
|
-
"gif.js": "^0.2.0",
|
|
106
|
-
"html2canvas": "^1.4.1",
|
|
107
|
-
"husky": "^4.3.7",
|
|
108
|
-
"jest": "^29.7.0",
|
|
109
|
-
"less": "^4.1.1",
|
|
110
|
-
"less-loader": "^7.3.0",
|
|
111
|
-
"lint-staged": "^10.5.3",
|
|
112
|
-
"prettier": "^2.2.1",
|
|
113
|
-
"qrcodejs2-fix": "^0.0.1",
|
|
114
|
-
"stylelint": "^13.8.0",
|
|
115
|
-
"stylelint-config-prettier": "^8.0.2",
|
|
116
|
-
"stylelint-config-rational-order": "^0.1.2",
|
|
117
|
-
"stylelint-config-standard": "^20.0.0",
|
|
118
|
-
"stylelint-order": "^4.1.0",
|
|
119
|
-
"tus-js-client": "^3.1.1",
|
|
120
|
-
"typescript": "^4.2.4",
|
|
121
|
-
"vue": "^3.2.0",
|
|
122
|
-
"vue-loader": "^16.2.0",
|
|
123
|
-
"vuedraggable": "^4.1.0",
|
|
124
|
-
"webpack": "^5.88.2"
|
|
125
|
-
},
|
|
126
|
-
"arcoMeta": {
|
|
127
|
-
"type": "vue-library",
|
|
128
|
-
"title": "@cmstops/pro-compo",
|
|
129
|
-
"category": [
|
|
130
|
-
"数据展示"
|
|
131
|
-
]
|
|
132
|
-
},
|
|
133
|
-
"files": [
|
|
134
|
-
"es",
|
|
135
|
-
"lib",
|
|
136
|
-
"dist"
|
|
137
|
-
]
|
|
138
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@cmstops/pro-compo",
|
|
3
|
+
"version": "3.9.1-rc.10",
|
|
4
|
+
"description": "",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"vue",
|
|
7
|
+
"arco-design"
|
|
8
|
+
],
|
|
9
|
+
"author": "",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"main": "dist/index.cjs.js",
|
|
12
|
+
"module": "dist/index.esm.js",
|
|
13
|
+
"types": "dist/index.d.ts",
|
|
14
|
+
"umd": {
|
|
15
|
+
"file": "dist/index.min.js",
|
|
16
|
+
"style": "dist/index.min.css",
|
|
17
|
+
"module": "ArcoComponents"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"dev": "start-storybook STORYBOOK_ENV=dev -p 9528",
|
|
21
|
+
"build": "npm run build:component && npm run build:style && npm run dtsgen",
|
|
22
|
+
"build:component": "arco-vue-scripts build:material-library",
|
|
23
|
+
"build:style": "arco-vue-scripts build:style -M",
|
|
24
|
+
"dtsgen": "arco-vue-scripts dtsgen 'components/**/*.{ts,tsx,vue}'",
|
|
25
|
+
"docgen": "arco-vue-scripts docgen",
|
|
26
|
+
"build:doc": "npx storybook build",
|
|
27
|
+
"test": "arco-vue-scripts test",
|
|
28
|
+
"add:component": "node ./scripts/add-component.js",
|
|
29
|
+
"prepublishOnly": "npm run build"
|
|
30
|
+
},
|
|
31
|
+
"husky": {
|
|
32
|
+
"hooks": {
|
|
33
|
+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
34
|
+
"pre-commit": "lint-staged"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"lint-staged": {
|
|
38
|
+
"*.{js,ts,jsx,tsx,vue}": [
|
|
39
|
+
"eslint --fix",
|
|
40
|
+
"prettier --write"
|
|
41
|
+
],
|
|
42
|
+
"*.{less,css}": [
|
|
43
|
+
"stylelint --fix",
|
|
44
|
+
"prettier --write"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"@arco-design/web-vue": "~2",
|
|
49
|
+
"@arco-iconbox/vue-cmstop-icons": "^0.0.34",
|
|
50
|
+
"@popperjs/core": "^2.11.8",
|
|
51
|
+
"colorthief": "^2.4.0",
|
|
52
|
+
"cropperjs": "^1.6.1",
|
|
53
|
+
"dayjs": "^1.11.9",
|
|
54
|
+
"diff": "^5.2.0",
|
|
55
|
+
"gif-to-canvas": "^1.0.0",
|
|
56
|
+
"gif.js": "^0.2.0",
|
|
57
|
+
"tus-js-client": "^3.1.1",
|
|
58
|
+
"vue": "^3.2.0",
|
|
59
|
+
"vuedraggable": "^4.1.0"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@arco-design/web-vue": "~2",
|
|
63
|
+
"@arco-iconbox/vue-cmstop-icons": "^0.0.34",
|
|
64
|
+
"@babel/core": "^7.14.6",
|
|
65
|
+
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
66
|
+
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
67
|
+
"@babel/preset-env": "^7.14.7",
|
|
68
|
+
"@babel/preset-typescript": "^7.14.5",
|
|
69
|
+
"@cmstops/arco-vue-scripts": "^0.2.11",
|
|
70
|
+
"@commitlint/cli": "^11.0.0",
|
|
71
|
+
"@commitlint/config-conventional": "^12.0.1",
|
|
72
|
+
"@popperjs/core": "^2.11.8",
|
|
73
|
+
"@storybook/addon-actions": "^6.3.0",
|
|
74
|
+
"@storybook/addon-docs": "^7.6.7",
|
|
75
|
+
"@storybook/addon-essentials": "^6.3.0",
|
|
76
|
+
"@storybook/addon-links": "^6.3.0",
|
|
77
|
+
"@storybook/builder-webpack5": "^6.5.9",
|
|
78
|
+
"@storybook/manager-webpack5": "^6.5.9",
|
|
79
|
+
"@storybook/vue3": "^6.3.0",
|
|
80
|
+
"@types/diff": "^5.2.1",
|
|
81
|
+
"@types/fs-extra": "^9.0.6",
|
|
82
|
+
"@types/jest": "^29.5.5",
|
|
83
|
+
"@types/node": "^20.6.2",
|
|
84
|
+
"@types/tus-js-client": "1.5.1",
|
|
85
|
+
"@typescript-eslint/eslint-plugin": "^4.18.0",
|
|
86
|
+
"@typescript-eslint/parser": "^4.12.0",
|
|
87
|
+
"@vue/babel-plugin-jsx": "^1.0.6",
|
|
88
|
+
"@vue/test-utils": "^2.0.0-beta.14",
|
|
89
|
+
"axios": "^1.7.7",
|
|
90
|
+
"babel-loader": "^8.2.2",
|
|
91
|
+
"colorthief": "^2.4.0",
|
|
92
|
+
"cropperjs": "^1.6.1",
|
|
93
|
+
"dayjs": "^1.11.9",
|
|
94
|
+
"diff": "^5.2.0",
|
|
95
|
+
"eslint": "^7.21.0",
|
|
96
|
+
"eslint-config-airbnb-base": "^14.2.1",
|
|
97
|
+
"eslint-config-prettier": "^8.3.0",
|
|
98
|
+
"eslint-import-resolver-typescript": "^2.4.0",
|
|
99
|
+
"eslint-plugin-import": "^2.22.1",
|
|
100
|
+
"eslint-plugin-prettier": "^3.3.1",
|
|
101
|
+
"eslint-plugin-vue": "^7.7.0",
|
|
102
|
+
"fast-glob": "^3.2.7",
|
|
103
|
+
"fs-extra": "^9.1.0",
|
|
104
|
+
"gif-to-canvas": "^1.0.0",
|
|
105
|
+
"gif.js": "^0.2.0",
|
|
106
|
+
"html2canvas": "^1.4.1",
|
|
107
|
+
"husky": "^4.3.7",
|
|
108
|
+
"jest": "^29.7.0",
|
|
109
|
+
"less": "^4.1.1",
|
|
110
|
+
"less-loader": "^7.3.0",
|
|
111
|
+
"lint-staged": "^10.5.3",
|
|
112
|
+
"prettier": "^2.2.1",
|
|
113
|
+
"qrcodejs2-fix": "^0.0.1",
|
|
114
|
+
"stylelint": "^13.8.0",
|
|
115
|
+
"stylelint-config-prettier": "^8.0.2",
|
|
116
|
+
"stylelint-config-rational-order": "^0.1.2",
|
|
117
|
+
"stylelint-config-standard": "^20.0.0",
|
|
118
|
+
"stylelint-order": "^4.1.0",
|
|
119
|
+
"tus-js-client": "^3.1.1",
|
|
120
|
+
"typescript": "^4.2.4",
|
|
121
|
+
"vue": "^3.2.0",
|
|
122
|
+
"vue-loader": "^16.2.0",
|
|
123
|
+
"vuedraggable": "^4.1.0",
|
|
124
|
+
"webpack": "^5.88.2"
|
|
125
|
+
},
|
|
126
|
+
"arcoMeta": {
|
|
127
|
+
"type": "vue-library",
|
|
128
|
+
"title": "@cmstops/pro-compo",
|
|
129
|
+
"category": [
|
|
130
|
+
"数据展示"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"files": [
|
|
134
|
+
"es",
|
|
135
|
+
"lib",
|
|
136
|
+
"dist"
|
|
137
|
+
]
|
|
138
|
+
}
|
|
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
|
-
};
|