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.
@@ -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.64",
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
  }
@@ -6,6 +6,7 @@ module.exports = {
6
6
  entry: {
7
7
  web: path.resolve(__dirname, '../index-web.js'),
8
8
  h5: path.resolve(__dirname, '../index-H5.js'),
9
+ const: [path.resolve(__dirname, '../src/utils/const.js'),]
9
10
  },
10
11
  output: {
11
12
  clean: true,
@@ -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[key]) {
109
+ if (hasOwn(config, key)) {
110
110
  ret[key] = config[key]
111
111
  }
112
112
  return ret