diff --git a/core/apps/AppMassNotification/AppMassNotification.vue b/core/apps/AppMassNotification/AppMassNotification.vue deleted file mode 100644 index 4e3b37ed..00000000 --- a/core/apps/AppMassNotification/AppMassNotification.vue +++ /dev/null @@ -1,54 +0,0 @@ - - - - - diff --git a/core/apps/AppMassNotification/components/Add.vue b/core/apps/AppMassNotification/components/Add.vue deleted file mode 100644 index b6041edb..00000000 --- a/core/apps/AppMassNotification/components/Add.vue +++ /dev/null @@ -1,425 +0,0 @@ - - - - - diff --git a/core/apps/AppMassNotification/components/List.vue b/core/apps/AppMassNotification/components/List.vue deleted file mode 100644 index e09d0574..00000000 --- a/core/apps/AppMassNotification/components/List.vue +++ /dev/null @@ -1,208 +0,0 @@ - - - - - \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 00000000..809cadbc --- /dev/null +++ b/package.json @@ -0,0 +1,91 @@ +{ + "name": "cw-webapps", + "version": "2.0.0", + "private": false, + "author": "kubbo", + "main": "lib/cw-webapps.common.js", + "scripts": { + "dev": "vue-cli-service serve", + "lib": "vue-cli-service build --no-clean --target lib --dest lib packages/index.js&&npm unpublish --force&&npm publish", + "lib:core": "vue-cli-service build --target lib --dest core/dist core/index.js --name dvcp-core&&npm unpublish dvcp-core --force&&npm publish core/", + "lib:project": "node project/build.js", + "lib:all": "node project/allProject.js&&npm unpublish --workspaces --force&&npm publish --workspaces", + "ui": "npm i dvcp-ui@latest" + }, + "workspaces": [ + "project/*" + ], + "dependencies": { + "@amap/amap-jsapi-loader": "^1.0.1", + "@jiaminghi/data-view": "^2.10.0", + "bin-code-editor": "^0.9.0", + "dayjs": "^1.8.35", + "dvcp-ui": "^1.42.2", + "echarts": "^5.1.2", + "mp4box": "^0.4.1", + "print-js": "^1.0.63", + "serialize-javascript": "^6.0.0", + "sortablejs": "^1.12.0", + "vue-draggable-resizable": "^2.3.0", + "vue-json-editor": "^1.4.3", + "vue-okr-tree": "^1.0.10", + "vue-ruler-tool": "^1.2.4", + "vuedraggable": "^2.24.3" + }, + "publishConfig": { + "registry": "http://192.168.1.87:4873/" + }, + "devDependencies": { + "@babel/plugin-proposal-logical-assignment-operators": "^7.10.4", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", + "@babel/plugin-proposal-optional-chaining": "^7.10.4", + "@vue/cli-plugin-babel": "^3.6.0", + "@vue/cli-plugin-eslint": "^3.6.0", + "@vue/cli-service": "^3.6.0", + "axios": "^0.19.2", + "babel-eslint": "^10.1.0", + "core-js": "^2.6.11", + "element-ui": "^2.13.2", + "eslint": "^5.16.0", + "eslint-plugin-vue": "^5.0.0", + "image-webpack-loader": "^6.0.0", + "inquirer": "^6.5.2", + "node-sass": "npm:sass@^1.43.4", + "readline": "^1.3.0", + "sass-loader": "^7.1.0", + "uglifyjs-webpack-plugin": "^2.2.0", + "v-viewer": "^1.6.4", + "vue": "^2.6.11", + "vue-router": "^3.3.4", + "vue-template-compiler": "^2.6.11", + "vuex": "^3.5.1", + "vuex-persistedstate": "^2.7.1" + }, + "vetur": { + "attributes": "./attributes.json" + }, + "eslintConfig": { + "root": true, + "env": { + "node": true + }, + "extends": [ + "plugin:vue/essential", + "eslint:recommended" + ], + "rules": {}, + "parserOptions": { + "parser": "babel-eslint" + } + }, + "postcss": { + "plugins": { + "autoprefixer": {} + } + }, + "browserslist": [ + "> 1%", + "last 2 versions", + "not ie <= 8" + ] +} diff --git a/packages/bigscreen/designer/components/AiSwiper.vue b/packages/bigscreen/designer/components/AiSwiper.vue deleted file mode 100644 index b0d209fb..00000000 --- a/packages/bigscreen/designer/components/AiSwiper.vue +++ /dev/null @@ -1,92 +0,0 @@ - - - - - diff --git a/packages/bigscreen/designer/components/RenderElement.vue b/packages/bigscreen/designer/components/RenderElement.vue deleted file mode 100644 index 6c4ceac2..00000000 --- a/packages/bigscreen/designer/components/RenderElement.vue +++ /dev/null @@ -1,345 +0,0 @@ - - - - - diff --git a/packages/bigscreen/ui/AiDataPanel.vue b/packages/bigscreen/ui/AiDataPanel.vue deleted file mode 100644 index 11ec9fa8..00000000 --- a/packages/bigscreen/ui/AiDataPanel.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - - - diff --git a/packages/bigscreen/ui/AiStaData.vue b/packages/bigscreen/ui/AiStaData.vue deleted file mode 100644 index f225badc..00000000 --- a/packages/bigscreen/ui/AiStaData.vue +++ /dev/null @@ -1,30 +0,0 @@ - - - - - diff --git a/packages/work/AppForm/AppForm.vue b/packages/work/AppForm/AppForm.vue deleted file mode 100644 index b9059e59..00000000 --- a/packages/work/AppForm/AppForm.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/packages/work/AppForm/components/Add.vue b/packages/work/AppForm/components/Add.vue deleted file mode 100644 index 466e4248..00000000 --- a/packages/work/AppForm/components/Add.vue +++ /dev/null @@ -1,281 +0,0 @@ - - - - - diff --git a/packages/work/AppForm/components/BasicInfo.vue b/packages/work/AppForm/components/BasicInfo.vue deleted file mode 100644 index d49f6b33..00000000 --- a/packages/work/AppForm/components/BasicInfo.vue +++ /dev/null @@ -1,151 +0,0 @@ - - - - - diff --git a/packages/work/AppForm/components/FormConfig.vue b/packages/work/AppForm/components/FormConfig.vue deleted file mode 100644 index eaade007..00000000 --- a/packages/work/AppForm/components/FormConfig.vue +++ /dev/null @@ -1,244 +0,0 @@ - - - - - diff --git a/packages/work/AppForm/components/FormLayout.vue b/packages/work/AppForm/components/FormLayout.vue deleted file mode 100644 index 35cb0c98..00000000 --- a/packages/work/AppForm/components/FormLayout.vue +++ /dev/null @@ -1,1198 +0,0 @@ - - - - - diff --git a/packages/work/AppForm/components/config.js b/packages/work/AppForm/components/config.js deleted file mode 100644 index 93a64a07..00000000 --- a/packages/work/AppForm/components/config.js +++ /dev/null @@ -1,272 +0,0 @@ -export const components = [ - { - type: 'info', - tips: '(不能重复添加同一元素)', - label: '信息', - children: [ - { - type: 'name', - fieldName: '姓名', - fieldTips: '请输入姓名', - fixedLabel: '姓名', - disable: '0', - grid: 0.5, - defaultValue: '', - icon: 'icontext_box', - mustFill: '1', - maxLength: 20 - }, - { - type: 'idNumber', - fieldName: '身份证号', - fixedLabel: '身份证号', - fieldTips: '请输入身份证号', - defaultValue: '', - icon: 'icontext_area', - mustFill: '1', - maxLength: 20, - disable: '0', - grid: 0.5 - }, - { - type: 'phone', - fieldName: '联系方式', - fixedLabel: '联系方式', - fieldTips: '请输入联系方式', - defaultValue: '', - icon: 'icontext_area', - mustFill: '1', - maxLength: 20, - disable: '0', - grid: 0.5 - }, - { - type: 'area', - fieldName: '地区', - fixedLabel: '地区', - fieldTips: '请选择地区', - defaultValue: '', - icon: 'icontext_area', - mustFill: '1', - areaPattern: '', - disable: '0', - grid: 0.5 - } - ] - }, - { - type: 'options', - tips: '(可重复添加)', - label: '选项', - children: [ - { - type: 'radio', - fieldName: '单选', - fixedLabel: '单选', - fieldTips: '请选择', - grid: 0.5, - icon: 'iconradio', - mustFill: '1', - disable: '0', - defaultValue: '', - options: [ - { - label: '选项1', - value: '' - }, - { - label: '选项2', - value: '' - } - ], - title: '' - }, - { - type: 'checkbox', - fieldName: '多选', - fixedLabel: '多选', - fieldTips: '请选择', - icon: 'iconcheck_box', - mustFill: '1', - grid: 0.5, - disable: '0', - defaultValue: [], - options: [ - { - label: '选项1', - value: '' - }, - { - label: '选项2', - value: '' - } - ], - title: '' - }, - { - type: 'select', - fieldName: '单下拉框', - fixedLabel: '单下拉框', - grid: 0.5, - fieldTips: '请选择', - icon: 'iconSelect', - mustFill: '1', - defaultValue: '', - disable: '0', - options: [ - { - label: '选项1', - value: '' - }, - { - label: '选项2', - value: '' - } - ], - title: '' - }, - { - type: 'onOff', - fieldName: '开关', - fixedLabel: '开关', - grid: 0.5, - fieldTips: '请选择开关', - icon: 'iconSelect', - mustFill: '1', - defaultValue: '0', - disable: '0', - title: '' - }, - { - type: 'date', - fieldName: '日期', - fixedLabel: '日期', - grid: 0.5, - datetimePattern: 'yyyy-MM-dd', - fieldTips: '请选择日期', - icon: 'iconSelect', - mustFill: '1', - disable: '0', - title: '' - }, - { - type: 'time', - fieldName: '时间', - fixedLabel: '时间', - grid: 0.5, - datetimePattern: 'HH:mm:ss', - fieldTips: '请选择时间', - icon: 'iconSelect', - mustFill: '1', - disable: '0', - title: '' - }, - { - type: 'datetime', - fieldName: '日期时间', - fixedLabel: '日期时间', - grid: 0.5, - datetimePattern: 'yyyy-MM-dd HH:mm:ss', - fieldTips: '请选择日期时间', - icon: 'iconSelect', - mustFill: '1', - disable: '0', - title: '' - } - ] - }, - { - type: 'input', - tips: '(可重复添加)', - label: '填空', - children: [ - { - type: 'input', - fieldName: '单行填空', - fieldTips: '请输入', - fixedLabel: '单行填空', - disable: '0', - grid: 0.5, - defaultValue: '', - icon: 'icontext_box', - mustFill: '1', - maxLength: 50 - }, - { - type: 'textarea', - fieldName: '多行填空', - fixedLabel: '多行填空', - fieldTips: '请输入', - lineNumber: 4, - defaultValue: '', - icon: 'icontext_area', - mustFill: '1', - maxLength: 500, - disable: '0', - grid: 1 - }, - { - type: 'number', - fieldName: '数字输入', - fixedLabel: '数字输入', - fieldTips: '请输入数字', - defaultValue: '', - icon: 'icontext_area', - mustFill: '1', - maxValue: 10000, - decimalPlaces: 0, - minValue: 0, - maxLength: 500, - disable: '0', - grid: 0.5 - }, - { - type: 'rtf', - fieldName: '富文本', - fixedLabel: '富文本', - fieldTips: '请输入', - defaultValue: '', - icon: 'icontext_area', - mustFill: '1', - maxLength: 5000, - disable: '0', - grid: 1 - } - ] - }, - { - type: 'annex', - tips: '(可重复添加)', - label: '附件', - children: [ - { - type: 'upload', - fieldTips: '请上传', - fieldName: '上传附件', - fixedLabel: '上传附件', - disable: '0', - fileChoseSize: 10, - fileMaxCount: 9, - defaultValue: '', - icon: 'iconpic', - mustFill: '1', - grid: 1 - } - ] - }, - { - type: 'layout', - tips: '(可重复添加)', - label: '分组', - children: [ - { - type: 'group', - fieldName: '卡片', - fixedLabel: '卡片', - icon: 'iconpic', - groupName: '分组标题', - column: [] - } - ] - } -];