@cmstops/pro-compo 3.9.2-alpha.20 → 3.9.2-alpha.22
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/selectAddTo/component.js +1 -1
- package/es/selectAddTo/components/ViewAllColumn/index.js +7 -1
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +4 -4
- package/es/selectAddTo/style/index.less +3 -3
- package/es/selectThumb/component.js +9 -9
- package/es/style.css +12 -12
- package/lib/selectAddTo/component.js +1 -1
- package/lib/selectAddTo/components/ViewAllColumn/index.js +7 -1
- package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +4 -4
- package/lib/selectAddTo/style/index.less +3 -3
- package/lib/selectThumb/component.js +9 -9
- package/package.json +138 -138
|
@@ -122,5 +122,5 @@ const _sfc_main = defineComponent({
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
|
-
var _selectAddTo = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
125
|
+
var _selectAddTo = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-716e767e"]]);
|
|
126
126
|
export { _selectAddTo as default };
|
|
@@ -32,6 +32,12 @@ const _sfc_main = defineComponent({
|
|
|
32
32
|
...{ name: "ViewAllColumn" },
|
|
33
33
|
__name: "index",
|
|
34
34
|
props: {
|
|
35
|
+
maxSelect: {},
|
|
36
|
+
defaultSelectedData: {},
|
|
37
|
+
typeData: {},
|
|
38
|
+
series: {},
|
|
39
|
+
banner: {},
|
|
40
|
+
userInfo: {},
|
|
35
41
|
typeKey: {},
|
|
36
42
|
rid: {}
|
|
37
43
|
},
|
|
@@ -199,5 +205,5 @@ const _sfc_main = defineComponent({
|
|
|
199
205
|
};
|
|
200
206
|
}
|
|
201
207
|
});
|
|
202
|
-
var ViewAllColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
208
|
+
var ViewAllColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2d750b7e"]]);
|
|
203
209
|
export { ViewAllColumn as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ref, computed, watch } from "vue";
|
|
2
2
|
import { Message } from "@arco-design/web-vue";
|
|
3
|
+
import { DEFAULT_BASE_API } from "../../../../config.js";
|
|
3
4
|
import { getCategoryMediaNew, getPoliticals, getMlists } from "../../../script/api.js";
|
|
4
5
|
import useTableBatch from "../../../../hooks/batch.js";
|
|
5
6
|
const useViewAllColumnState = (props, emit) => {
|
|
@@ -109,7 +110,6 @@ const useViewAllColumnState = (props, emit) => {
|
|
|
109
110
|
where: ["state:15|19"]
|
|
110
111
|
};
|
|
111
112
|
params.where.push(props.typeKey);
|
|
112
|
-
console.log(filter.value, "888888");
|
|
113
113
|
if (filter.value) {
|
|
114
114
|
const _filter = filter.value;
|
|
115
115
|
params.order = _filter.order;
|
|
@@ -123,11 +123,11 @@ const useViewAllColumnState = (props, emit) => {
|
|
|
123
123
|
try {
|
|
124
124
|
let response;
|
|
125
125
|
if (props.typeKey && props.typeKey !== "ZQ") {
|
|
126
|
-
response = await getCategoryMediaNew(
|
|
126
|
+
response = await getCategoryMediaNew(DEFAULT_BASE_API, params);
|
|
127
127
|
} else {
|
|
128
128
|
params.keyword = ((_a = filter.value) == null ? void 0 : _a.precise_kw) || ((_b = filter.value) == null ? void 0 : _b.keywords) || "";
|
|
129
129
|
params.state = 2;
|
|
130
|
-
response = await getPoliticals(
|
|
130
|
+
response = await getPoliticals(DEFAULT_BASE_API, params);
|
|
131
131
|
}
|
|
132
132
|
const { code, message } = response;
|
|
133
133
|
if (code === 0) {
|
|
@@ -152,7 +152,7 @@ const useViewAllColumnState = (props, emit) => {
|
|
|
152
152
|
};
|
|
153
153
|
const loadMore = async (record, done) => {
|
|
154
154
|
try {
|
|
155
|
-
const res = await getMlists(
|
|
155
|
+
const res = await getMlists(DEFAULT_BASE_API, {
|
|
156
156
|
rid: props.rid,
|
|
157
157
|
gid: record.special_id
|
|
158
158
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.select-add-to {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
}
|
|
1
|
+
.select-add-to {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
}
|
|
@@ -516,15 +516,15 @@ const _sfc_main = defineComponent({
|
|
|
516
516
|
}), 128))
|
|
517
517
|
]),
|
|
518
518
|
_: 1
|
|
519
|
-
}, 8, ["modelValue"])
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
519
|
+
}, 8, ["modelValue"]),
|
|
520
|
+
hasCover.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
521
|
+
key: 0,
|
|
522
|
+
"style-data": styleData.value,
|
|
523
|
+
model: "cover",
|
|
524
|
+
style: { "margin-top": "10px" },
|
|
525
|
+
onChange: colorChange
|
|
526
|
+
}, null, 8, ["style-data"])) : createCommentVNode("v-if", true)
|
|
527
|
+
], 64)) : createCommentVNode("v-if", true)
|
|
528
528
|
])
|
|
529
529
|
], 2),
|
|
530
530
|
_ctx.mode === "doc" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
package/es/style.css
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
.content-tabs[data-v-
|
|
1
|
+
.content-tabs[data-v-716e767e] .arco-tabs-content {
|
|
2
2
|
padding: 0;
|
|
3
3
|
}
|
|
4
|
-
.add-content-modal-body[data-v-
|
|
4
|
+
.add-content-modal-body[data-v-716e767e] {
|
|
5
5
|
padding: 0;
|
|
6
6
|
}
|
|
7
|
-
.view-all-column-container[data-v-
|
|
7
|
+
.view-all-column-container[data-v-2d750b7e] {
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
height: 100%;
|
|
11
11
|
}
|
|
12
|
-
.content-table-view[data-v-
|
|
12
|
+
.content-table-view[data-v-2d750b7e] {
|
|
13
13
|
flex: 1;
|
|
14
14
|
overflow: auto;
|
|
15
15
|
margin: 16px 0;
|
|
16
16
|
}
|
|
17
|
-
.bottom-view[data-v-
|
|
17
|
+
.bottom-view[data-v-2d750b7e] {
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: space-between;
|
|
20
20
|
align-items: center;
|
|
21
21
|
padding: 16px 0;
|
|
22
22
|
}
|
|
23
|
-
.bottom-view .left[data-v-
|
|
23
|
+
.bottom-view .left[data-v-2d750b7e] {
|
|
24
24
|
display: flex;
|
|
25
25
|
align-items: center;
|
|
26
26
|
gap: 16px;
|
|
27
27
|
}
|
|
28
|
-
.title-span[data-v-
|
|
28
|
+
.title-span[data-v-2d750b7e] {
|
|
29
29
|
display: flex;
|
|
30
30
|
align-items: center;
|
|
31
31
|
gap: 8px;
|
|
32
32
|
}
|
|
33
|
-
.title-span .icon[data-v-
|
|
33
|
+
.title-span .icon[data-v-2d750b7e] {
|
|
34
34
|
font-size: 16px;
|
|
35
35
|
}
|
|
36
|
-
.title-span .title[data-v-
|
|
36
|
+
.title-span .title[data-v-2d750b7e] {
|
|
37
37
|
flex: 1;
|
|
38
38
|
overflow: hidden;
|
|
39
39
|
text-overflow: ellipsis;
|
|
40
40
|
white-space: nowrap;
|
|
41
41
|
}
|
|
42
|
-
.pic-thumb-img[data-v-
|
|
42
|
+
.pic-thumb-img[data-v-2d750b7e] {
|
|
43
43
|
width: 80px;
|
|
44
44
|
height: 80px;
|
|
45
45
|
object-fit: cover;
|
|
46
46
|
border-radius: 4px;
|
|
47
47
|
}
|
|
48
|
-
.pic-thumb-img.placeholder[data-v-
|
|
48
|
+
.pic-thumb-img.placeholder[data-v-2d750b7e] {
|
|
49
49
|
background-color: #f5f5f5;
|
|
50
50
|
display: flex;
|
|
51
51
|
align-items: center;
|
|
52
52
|
justify-content: center;
|
|
53
53
|
}
|
|
54
|
-
.pic-thumb-img.placeholder .placeholder-text[data-v-
|
|
54
|
+
.pic-thumb-img.placeholder .placeholder-text[data-v-2d750b7e] {
|
|
55
55
|
color: #999;
|
|
56
56
|
font-size: 12px;
|
|
57
57
|
}
|
|
@@ -123,5 +123,5 @@ const _sfc_main = vue.defineComponent({
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
|
-
var _selectAddTo = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["__scopeId", "data-v-
|
|
126
|
+
var _selectAddTo = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["__scopeId", "data-v-716e767e"]]);
|
|
127
127
|
module.exports = _selectAddTo;
|
|
@@ -33,6 +33,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
33
33
|
...{ name: "ViewAllColumn" },
|
|
34
34
|
__name: "index",
|
|
35
35
|
props: {
|
|
36
|
+
maxSelect: {},
|
|
37
|
+
defaultSelectedData: {},
|
|
38
|
+
typeData: {},
|
|
39
|
+
series: {},
|
|
40
|
+
banner: {},
|
|
41
|
+
userInfo: {},
|
|
36
42
|
typeKey: {},
|
|
37
43
|
rid: {}
|
|
38
44
|
},
|
|
@@ -200,5 +206,5 @@ const _sfc_main = vue.defineComponent({
|
|
|
200
206
|
};
|
|
201
207
|
}
|
|
202
208
|
});
|
|
203
|
-
var ViewAllColumn = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["__scopeId", "data-v-
|
|
209
|
+
var ViewAllColumn = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["__scopeId", "data-v-2d750b7e"]]);
|
|
204
210
|
module.exports = ViewAllColumn;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
var vue = require("vue");
|
|
4
4
|
var webVue = require("@arco-design/web-vue");
|
|
5
|
+
var config = require("../../../../config.js");
|
|
5
6
|
var api = require("../../../script/api.js");
|
|
6
7
|
var batch = require("../../../../hooks/batch.js");
|
|
7
8
|
const useViewAllColumnState = (props, emit) => {
|
|
@@ -111,7 +112,6 @@ const useViewAllColumnState = (props, emit) => {
|
|
|
111
112
|
where: ["state:15|19"]
|
|
112
113
|
};
|
|
113
114
|
params.where.push(props.typeKey);
|
|
114
|
-
console.log(filter.value, "888888");
|
|
115
115
|
if (filter.value) {
|
|
116
116
|
const _filter = filter.value;
|
|
117
117
|
params.order = _filter.order;
|
|
@@ -125,11 +125,11 @@ const useViewAllColumnState = (props, emit) => {
|
|
|
125
125
|
try {
|
|
126
126
|
let response;
|
|
127
127
|
if (props.typeKey && props.typeKey !== "ZQ") {
|
|
128
|
-
response = await api.getCategoryMediaNew(
|
|
128
|
+
response = await api.getCategoryMediaNew(config.DEFAULT_BASE_API, params);
|
|
129
129
|
} else {
|
|
130
130
|
params.keyword = ((_a = filter.value) == null ? void 0 : _a.precise_kw) || ((_b = filter.value) == null ? void 0 : _b.keywords) || "";
|
|
131
131
|
params.state = 2;
|
|
132
|
-
response = await api.getPoliticals(
|
|
132
|
+
response = await api.getPoliticals(config.DEFAULT_BASE_API, params);
|
|
133
133
|
}
|
|
134
134
|
const { code, message } = response;
|
|
135
135
|
if (code === 0) {
|
|
@@ -154,7 +154,7 @@ const useViewAllColumnState = (props, emit) => {
|
|
|
154
154
|
};
|
|
155
155
|
const loadMore = async (record, done) => {
|
|
156
156
|
try {
|
|
157
|
-
const res = await api.getMlists(
|
|
157
|
+
const res = await api.getMlists(config.DEFAULT_BASE_API, {
|
|
158
158
|
rid: props.rid,
|
|
159
159
|
gid: record.special_id
|
|
160
160
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.select-add-to {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
}
|
|
1
|
+
.select-add-to {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
}
|
|
@@ -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 }, [
|
package/package.json
CHANGED
|
@@ -1,138 +1,138 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@cmstops/pro-compo",
|
|
3
|
-
"version": "3.9.2-alpha.
|
|
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.2-alpha.22",
|
|
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
|
+
}
|