resolver-egretimp-plus 0.0.64 → 0.0.66
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/dist/const/index.js +1 -0
- package/dist/h5/index.js +1796 -1
- package/dist/h5/index.js.LICENSE.txt +42 -0
- package/dist/web/index.js +1796 -1
- package/dist/web/index.js.LICENSE.txt +42 -0
- package/package.json +6 -3
- package/scripts/webpack.config.js +1 -0
- package/src/analysisComponent.jsx +1 -0
- package/src/components/packages-H5/CustomComponentTableH5.vue +1 -1
- package/src/components/packages-web/CustomComponentTable.jsx +1 -1
- package/src/hooks/mock.js +5877 -378
- package/src/utils/const.js +4 -0
- package/src/utils/loadModule.js +48 -0
- package/src/utils/render.jsx +4 -0
|
@@ -5,4 +5,46 @@
|
|
|
5
5
|
* Copyright (c) 2013, salesforce.com
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
/*!
|
|
9
|
+
* The buffer module from node.js, for the browser.
|
|
10
|
+
*
|
|
11
|
+
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
12
|
+
* @license MIT
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/*!
|
|
16
|
+
* The buffer module from node.js, for the browser.
|
|
17
|
+
*
|
|
18
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
19
|
+
* @license MIT
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/*! https://mths.be/punycode v1.4.1 by @mathias */
|
|
23
|
+
|
|
24
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
25
|
+
|
|
8
26
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @vue/compiler-core v3.4.15
|
|
30
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
31
|
+
* @license MIT
|
|
32
|
+
**/
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @vue/compiler-dom v3.4.15
|
|
36
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
37
|
+
* @license MIT
|
|
38
|
+
**/
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @vue/compiler-sfc v3.4.15
|
|
42
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
43
|
+
* @license MIT
|
|
44
|
+
**/
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @vue/shared v3.4.15
|
|
48
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
49
|
+
* @license MIT
|
|
50
|
+
**/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "resolver-egretimp-plus",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.66",
|
|
4
4
|
"description": "交付体验渲染",
|
|
5
5
|
"main": "./dist/web/index.js",
|
|
6
6
|
"module": "./dist/web/index.js",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
".": "./dist/web/index.js",
|
|
9
9
|
"./h5": "./dist/h5/index.js",
|
|
10
10
|
"./web": "./dist/web/index.js",
|
|
11
|
+
"./const": "./dist/const/index.js",
|
|
11
12
|
"./*": "./*"
|
|
12
13
|
},
|
|
13
14
|
"scripts": {
|
|
@@ -49,6 +50,8 @@
|
|
|
49
50
|
"vue-style-loader": "^4.1.3",
|
|
50
51
|
"vue3-quill": "^0.3.1",
|
|
51
52
|
"webpack": "^5.90.0",
|
|
52
|
-
"webpack-cli": "^5.1.4"
|
|
53
|
-
|
|
53
|
+
"webpack-cli": "^5.1.4",
|
|
54
|
+
"vue3-sfc-loader": "^0.9.5"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {}
|
|
54
57
|
}
|
|
@@ -155,6 +155,7 @@ export default {
|
|
|
155
155
|
config.dynamicMapComp = dynamicMapComp
|
|
156
156
|
config.dynamicHireRelat = parent?.dynamicHireRelat ? `${parent?.dynamicHireRelat}${hasOwn(props.config, 'rowIndex') ? `[${props.config.rowIndex}]` : ''}->${(props.config.metaCode || '')}` : props.config.metaCode
|
|
157
157
|
config.dynamicHireRelat && (dynamicMapComp[props.config.dynamicHireRelat] = props.config)
|
|
158
|
+
return parent
|
|
158
159
|
})
|
|
159
160
|
|
|
160
161
|
// props.config.parent = parent
|
|
@@ -124,7 +124,7 @@ watch(modelValue, (val) => {
|
|
|
124
124
|
setTimeout(() => {
|
|
125
125
|
tableData.value = val || (tableProps.value.card ? [] : [])
|
|
126
126
|
}, 100);
|
|
127
|
-
tableRef.value?.setTableData(val
|
|
127
|
+
tableRef.value?.setTableData((val && val.length) ? val : [{}])
|
|
128
128
|
}, {
|
|
129
129
|
immediate: true
|
|
130
130
|
})
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
const nextList = tableColumnConfigs.value.slice(idx + 1)
|
|
107
107
|
const nextConfig = nextList.find(config => config.displayType === DISPLAY_SHOW)
|
|
108
108
|
const props = Object.keys(ElTableColumn.props).reduce((ret, key) => {
|
|
109
|
-
if (config
|
|
109
|
+
if (hasOwn(config, key)) {
|
|
110
110
|
ret[key] = config[key]
|
|
111
111
|
}
|
|
112
112
|
return ret
|