cloud-web-corejs 1.0.95 → 1.0.97

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.95",
4
+ "version": "1.0.97",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -17,43 +17,37 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@codemirror/lang-javascript": "^6.1.9",
20
- "@formulajs/formulajs": "^4.3.1",
21
- "@vue/preload-webpack-plugin": "^2.0.0",
22
- "@zxing/library": "^0.21.3",
23
- "axios": "0.18.1",
24
- "codemirror": "^6.0.1",
25
- "concurrent-tasks": "1.0.7",
26
- "copy-webpack-plugin": "5.1.2",
27
- "core-js": "^3.8.3",
28
- "dayjs": "^1.11.13",
29
- "element-ui": "^2.15.14",
30
- "js-base64": "^3.7.7",
31
- "js-cookie": "2.2.0",
32
- "jsqr": "^1.4.0",
33
- "jszip": "^3.10.1",
34
- "less": "^4.2.0",
35
- "less-loader": "^7.0.1",
36
- "lodash": "4.17.21",
37
- "moment": "2.29.4",
38
- "node-polyfill-webpack-plugin": "^4.0.0",
39
- "normalize.css": "7.0.0",
40
- "nprogress": "0.2.0",
41
- "qrcode": "^1.5.1",
42
- "qrcode-decoder": "^0.3.4",
43
- "qrcode-reader": "^1.0.4",
44
- "qs": "6.10.3",
45
- "quagga": "^0.12.1",
46
- "sortablejs": "1.8.4",
47
- "spark-md5": "^3.0.1",
48
- "swiper": "4.0.7",
49
- "vue": "2.6.12",
50
- "vue-i18n": "^8.22.2",
51
- "vue-ls": "^4.2.0",
52
- "vue-router": "3.0.2",
53
- "vuex": "3.1.0",
54
- "vxe-table": "3.5.9",
55
- "xlsx": "0.14.1",
56
- "zxing": "^0.1.2"
20
+ "@formulajs/formulajs": "^4.3.1",
21
+ "@vue/preload-webpack-plugin": "^2.0.0",
22
+ "axios": "0.18.1",
23
+ "codemirror": "^6.0.1",
24
+ "concurrent-tasks": "1.0.7",
25
+ "copy-webpack-plugin": "5.1.2",
26
+ "core-js": "^3.8.3",
27
+ "dayjs": "^1.11.13",
28
+ "element-ui": "^2.15.14",
29
+ "js-base64": "^3.7.7",
30
+ "js-cookie": "2.2.0",
31
+ "jsqr": "^1.4.0",
32
+ "less": "^4.2.0",
33
+ "less-loader": "^7.0.1",
34
+ "lodash": "4.17.21",
35
+ "moment": "2.29.4",
36
+ "node-polyfill-webpack-plugin": "^4.0.0",
37
+ "normalize.css": "7.0.0",
38
+ "nprogress": "0.2.0",
39
+ "qrcode": "^1.5.1",
40
+ "qs": "6.10.3",
41
+ "sortablejs": "1.8.4",
42
+ "spark-md5": "^3.0.1",
43
+ "swiper": "4.0.7",
44
+ "vue": "2.6.12",
45
+ "vue-i18n": "^8.22.2",
46
+ "vue-ls": "^4.2.0",
47
+ "vue-router": "3.0.2",
48
+ "vuex": "3.1.0",
49
+ "vxe-table": "3.5.9",
50
+ "xlsx": "0.14.1"
57
51
  },
58
52
  "devDependencies": {
59
53
  "@babel/core": "^7.12.16",
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <div id="uploadImage" :class="{ 'upload-img': dataType || ($attrs.hideInfo == true || $attrs.hideInfo == 'true') }">
3
+ <div id="uploadImage" :class="classList">
4
4
  <div class="upload-list" model="singer" v-for="(attachment, index) in attachments" :key="index"
5
5
  style="display: inline-block;vertical-align: middle;float: left;">
6
6
  <template v-if="$attrs.hideInfo !== true && $attrs.hideInfo !== 'true'">
@@ -22,7 +22,7 @@
22
22
  <div class="el-upload-list__item-name">
23
23
  <el-tooltip :enterable="false" class="item" effect="dark" :content="getAttachmentName(attachment)"
24
24
  placement="top">
25
- <p>{{ getAttachmentName(attachment) }}</p>
25
+ <p v-if="$attrs.hideName !== true">{{ getAttachmentName(attachment) }}</p>
26
26
  </el-tooltip>
27
27
  <p v-if="$attrs.showSize === true || $attrs.showSize === 'true'">
28
28
  {{ formatFileSize(attachment.fileSize) }}</p>
@@ -115,6 +115,21 @@ import {viewMixins} from './mixins';
115
115
 
116
116
  export default {
117
117
  mixins: [viewMixins],
118
- components: {propertiesDialog: () => import('./propertiesDialog.vue'), ElImageViewer: () => import('./image-viewer')}
118
+ components: {propertiesDialog: () => import('./propertiesDialog.vue'), ElImageViewer: () => import('./image-viewer')},
119
+ computed:{
120
+ classList(){
121
+ // 'upload-img': this.dataType || (this.$attrs.hideInfo == true || this.$attrs.hideInfo == 'true')
122
+ let arr = [];
123
+ if(this.dataType || (this.$attrs.hideInfo == true || this.$attrs.hideInfo == 'true')){
124
+ arr.push('upload-img')
125
+ }
126
+ let widgetSize = this.$attrs.widgetSize || 2
127
+ if(widgetSize){
128
+ let str1 = "widgetSize-" + widgetSize
129
+ arr.push(str1)
130
+ }
131
+ return arr
132
+ },
133
+ }
119
134
  };
120
135
  </script>