resolver-egretimp-plus 0.0.64 → 0.0.65
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 +5 -1
- package/scripts/webpack.config.js +1 -0
- package/src/analysisComponent.jsx +4 -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/hooks/pageConfig.js +2 -2
- package/src/hooks/testcomp.js +0 -0
- package/src/utils/loadModule.js +48 -0
- package/src/utils/render.jsx +4 -0
- package/src/utils/vue3-sfc-loader.js +1831 -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.65",
|
|
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": {
|
|
@@ -50,5 +51,8 @@
|
|
|
50
51
|
"vue3-quill": "^0.3.1",
|
|
51
52
|
"webpack": "^5.90.0",
|
|
52
53
|
"webpack-cli": "^5.1.4"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"vue3-sfc-loader": "^0.9.5"
|
|
53
57
|
}
|
|
54
58
|
}
|
|
@@ -117,6 +117,9 @@ export default {
|
|
|
117
117
|
const componentProps = ref({})
|
|
118
118
|
if (typeof props.component === 'function') {
|
|
119
119
|
props.component()?.then(res => {
|
|
120
|
+
if (props.config.isCustomComp) {
|
|
121
|
+
debugger
|
|
122
|
+
}
|
|
120
123
|
const obj = {}
|
|
121
124
|
if (res?.default?.emits) {
|
|
122
125
|
initVmodels(res?.default?.emits)
|
|
@@ -155,6 +158,7 @@ export default {
|
|
|
155
158
|
config.dynamicMapComp = dynamicMapComp
|
|
156
159
|
config.dynamicHireRelat = parent?.dynamicHireRelat ? `${parent?.dynamicHireRelat}${hasOwn(props.config, 'rowIndex') ? `[${props.config.rowIndex}]` : ''}->${(props.config.metaCode || '')}` : props.config.metaCode
|
|
157
160
|
config.dynamicHireRelat && (dynamicMapComp[props.config.dynamicHireRelat] = props.config)
|
|
161
|
+
return parent
|
|
158
162
|
})
|
|
159
163
|
|
|
160
164
|
// 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
|