@cmstops/pro-compo 0.3.98 → 0.3.99
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.
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, onMounted, openBlock, createBlock, unref, withCtx, createTextVNode, toDisplayString, createVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { Modal, Tabs, TabPane, Button } from "@arco-design/web-vue";
|
|
3
|
-
import { Enum, License } from "@cmstops/utils";
|
|
4
3
|
import _sfc_main$1 from "./components/ViewAllColumn/index.js";
|
|
5
4
|
import _sfc_main$4 from "./components/CompoList/index.js";
|
|
6
5
|
import _sfc_main$6 from "./components/MpAccountList/index.js";
|
|
@@ -49,16 +48,6 @@ const _sfc_main = defineComponent({
|
|
|
49
48
|
});
|
|
50
49
|
const typeDataController = computed(() => {
|
|
51
50
|
const ret = JSON.parse(JSON.stringify(props.typeData));
|
|
52
|
-
const appList = [
|
|
53
|
-
{ license: "courselearning", key: "addCourse", type: Enum.CheckTypeEnum.MARKET },
|
|
54
|
-
{ license: "maavd", key: "addMpAccount", type: Enum.CheckTypeEnum.MARKET },
|
|
55
|
-
{ license: "maavd", key: "addMpContent", type: Enum.CheckTypeEnum.MARKET }
|
|
56
|
-
];
|
|
57
|
-
appList.forEach((item) => {
|
|
58
|
-
if (!License.check(item.type, item.license)) {
|
|
59
|
-
ret[item.key] = false;
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
51
|
return ret;
|
|
63
52
|
});
|
|
64
53
|
const setVisible = (bool) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var vue = require("vue");
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
|
-
var utils = require("@cmstops/utils");
|
|
5
4
|
var index = require("./components/ViewAllColumn/index.js");
|
|
6
5
|
var index$3 = require("./components/CompoList/index.js");
|
|
7
6
|
var index$5 = require("./components/MpAccountList/index.js");
|
|
@@ -50,16 +49,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
50
49
|
});
|
|
51
50
|
const typeDataController = vue.computed(() => {
|
|
52
51
|
const ret = JSON.parse(JSON.stringify(props.typeData));
|
|
53
|
-
const appList = [
|
|
54
|
-
{ license: "courselearning", key: "addCourse", type: utils.Enum.CheckTypeEnum.MARKET },
|
|
55
|
-
{ license: "maavd", key: "addMpAccount", type: utils.Enum.CheckTypeEnum.MARKET },
|
|
56
|
-
{ license: "maavd", key: "addMpContent", type: utils.Enum.CheckTypeEnum.MARKET }
|
|
57
|
-
];
|
|
58
|
-
appList.forEach((item) => {
|
|
59
|
-
if (!utils.License.check(item.type, item.license)) {
|
|
60
|
-
ret[item.key] = false;
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
52
|
return ret;
|
|
64
53
|
});
|
|
65
54
|
const setVisible = (bool) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cmstops/pro-compo",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.99",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@arco-design/web-vue": "~2",
|
|
49
49
|
"@arco-iconbox/vue-cmstop-icons": "^0.0.34",
|
|
50
|
-
"@cmstops/utils": "^1.0.4",
|
|
51
50
|
"@popperjs/core": "^2.11.8",
|
|
52
51
|
"colorthief": "^2.4.0",
|
|
53
52
|
"cropperjs": "^1.6.1",
|
|
@@ -135,8 +134,5 @@
|
|
|
135
134
|
"es",
|
|
136
135
|
"lib",
|
|
137
136
|
"dist"
|
|
138
|
-
]
|
|
139
|
-
"dependencies": {
|
|
140
|
-
"@cmstops/utils": "^1.0.6"
|
|
141
|
-
}
|
|
137
|
+
]
|
|
142
138
|
}
|