agilebuilder-ui 1.1.12-tmp2 → 1.1.13-tmp1
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/lib/super-ui.css +1 -1
- package/lib/super-ui.js +61089 -123088
- package/lib/super-ui.umd.cjs +95 -128
- package/package.json +7 -3
- package/packages/fs-upload-list/src/fs-upload-list.vue +11 -10
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-app.vue +9 -7
- package/packages/super-grid/src/apis.js +259 -403
- package/packages/super-grid/src/components/mobile-table-card.jsx +453 -0
- package/packages/super-grid/src/normal-column-content.vue +6 -1
- package/packages/super-grid/src/super-grid.vue +140 -72
- package/src/mixins/resizeMixin.js +49 -0
- package/src/store/modules/app.js +26 -0
- package/src/styles/display-layout.scss +132 -0
- package/src/styles/index.scss +1 -0
- package/src/utils/guid.js +13 -0
- package/vite.config.js +19 -11
package/package.json
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agilebuilder-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13-tmp1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
|
-
"main": "./
|
|
6
|
+
"main": "./packages/index.js",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"lib": "vite build",
|
|
8
|
+
"lib": "vite build --mode production",
|
|
9
|
+
"lib:dev": "vite build --mode development",
|
|
10
|
+
"dev:watch": "vite build --mode development --watch",
|
|
9
11
|
"preview": "vite preview"
|
|
10
12
|
},
|
|
11
13
|
"dependencies": {
|
|
12
14
|
"@tinymce/tinymce-vue": "4.0.4",
|
|
15
|
+
"@vitejs/plugin-vue-jsx": "^4.1.2",
|
|
13
16
|
"@zxing/library": "^0.20.0",
|
|
14
17
|
"async-validator": "^4.2.5",
|
|
15
18
|
"compressorjs": "1.2.1",
|
|
@@ -17,6 +20,7 @@
|
|
|
17
20
|
"js-base64": "^3.7.7",
|
|
18
21
|
"js-cookie": "^3.0.5",
|
|
19
22
|
"mitt": "^3.0.1",
|
|
23
|
+
"normalize.css": "^8.0.1",
|
|
20
24
|
"path-to-regexp": "6.2.1",
|
|
21
25
|
"sortablejs": "^1.15.0",
|
|
22
26
|
"tinymce": "5.8.2",
|
|
@@ -10,8 +10,16 @@
|
|
|
10
10
|
:readonly="true"
|
|
11
11
|
>
|
|
12
12
|
<template v-slot:append>
|
|
13
|
-
<el-button v-if="!disabled"
|
|
14
|
-
|
|
13
|
+
<el-button v-if="!disabled" size="default" @click="openAnnexUpload">
|
|
14
|
+
<template v-slot:icon>
|
|
15
|
+
<el-icon color="black" :size="16"><Upload /></el-icon>
|
|
16
|
+
</template>
|
|
17
|
+
</el-button>
|
|
18
|
+
<el-button size="default" @click="preview">
|
|
19
|
+
<template v-slot:icon>
|
|
20
|
+
<el-icon color="black" :size="16"><ZoomIn /></el-icon>
|
|
21
|
+
</template>
|
|
22
|
+
</el-button>
|
|
15
23
|
</template>
|
|
16
24
|
</el-input>
|
|
17
25
|
|
|
@@ -124,12 +132,7 @@
|
|
|
124
132
|
</template>
|
|
125
133
|
|
|
126
134
|
<script>
|
|
127
|
-
import {
|
|
128
|
-
Delete as ElIconDelete,
|
|
129
|
-
Upload as ElIconUpload2,
|
|
130
|
-
View as ElIconView,
|
|
131
|
-
ZoomIn as ElIconZoomIn
|
|
132
|
-
} from '@element-plus/icons-vue'
|
|
135
|
+
import { Delete as ElIconDelete, Upload, View as ElIconView, ZoomIn } from '@element-plus/icons-vue'
|
|
133
136
|
import { $emit } from '../../utils/gogocodeTransfer'
|
|
134
137
|
|
|
135
138
|
import { getToken } from '../../../src/utils/auth'
|
|
@@ -230,8 +233,6 @@ export default {
|
|
|
230
233
|
lastFileName: null,
|
|
231
234
|
previewImageInfo: {},
|
|
232
235
|
showFileList: this.fileList,
|
|
233
|
-
ElIconUpload2,
|
|
234
|
-
ElIconZoomIn,
|
|
235
236
|
isMobile,
|
|
236
237
|
systemCode
|
|
237
238
|
}
|
|
@@ -156,8 +156,9 @@ const emits = defineEmits(['remove', 'uploadend'])
|
|
|
156
156
|
|
|
157
157
|
// 表示点击了选择文件按钮
|
|
158
158
|
function pickBrowserFiles() {
|
|
159
|
+
// alert('pickBrowserFiles')
|
|
159
160
|
console.log('---点击了选择文件按钮---')
|
|
160
|
-
|
|
161
|
+
let message = {
|
|
161
162
|
type: 'pickFiles',
|
|
162
163
|
multiple: props.multiple,
|
|
163
164
|
componentId: props.componentId,
|
|
@@ -166,12 +167,13 @@ function pickBrowserFiles() {
|
|
|
166
167
|
token: getToken(),
|
|
167
168
|
listCode: props.listCode
|
|
168
169
|
}
|
|
169
|
-
if(window.parent && window.parent.parent && window.parent.parent.parent ) {
|
|
170
|
-
console.log('---点击了选择文件按钮111---')
|
|
171
|
-
message.myCustom = 'window.parent.parent.parent'
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
} else
|
|
170
|
+
// if(window.parent && window.parent.parent && window.parent.parent.parent ) {
|
|
171
|
+
// console.log('---点击了选择文件按钮111---')
|
|
172
|
+
// message.myCustom = 'window.parent.parent.parent'
|
|
173
|
+
// // 加上uniapp中的iframe,一共是4层iframe嵌套时.最多支持4层iframe嵌套。
|
|
174
|
+
// window.parent.parent.parent.postMessage(JSON.stringify(message), '*')
|
|
175
|
+
// } else
|
|
176
|
+
if(window.parent && window.parent.parent) {
|
|
175
177
|
console.log('---点击了选择文件按钮222---')
|
|
176
178
|
message.myCustom = 'window.parent.parent'
|
|
177
179
|
// 加上uniapp中的iframe,一共是3层iframe嵌套时
|