@vue-start/pro 0.3.0 → 0.3.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.3.1](https://github.com/zxeryu/vue-start/compare/@vue-start/pro@0.3.0...@vue-start/pro@0.3.1) (2022-08-23)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **pro:** merge bug ([1155218](https://github.com/zxeryu/vue-start/commit/115521827bc31c11091c23d16a596bd825aedcf1))
11
+
6
12
  # [0.3.0](https://github.com/zxeryu/vue-start/compare/@vue-start/pro@0.2.0...@vue-start/pro@0.3.0) (2022-08-22)
7
13
 
8
14
  ### Bug Fixes
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, reactive, inject, h, provide, ref, createVNode, mergeProps, Fragment } from 'vue';
2
- import { map, isString, forEach, filter as filter$1, keys, omit, isArray, split, isFunction, get, isEmpty, isObject, mergeWith, reduce, sortBy, pick, debounce, size, some, clone, set, isBoolean, merge as merge$1 } from 'lodash';
2
+ import { map, isString, forEach, filter as filter$1, keys, omit, isArray, split, isFunction, get, isEmpty, isObject, mergeWith, reduce, sortBy, pick, debounce, size, some, clone, set, isBoolean } from 'lodash';
3
3
  import { filter, tap, merge, Subject } from 'rxjs';
4
4
  import { useEffect, setReactiveValue, useWatch } from '@vue-start/hooks';
5
5
  import { useRequestProvide, isFailedRequestActor, isPreRequestActor, isDoneRequestActor } from '@vue-start/request';
@@ -1759,8 +1759,8 @@ var proTableProps = function proTableProps() {
1759
1759
  type: String
1760
1760
  },
1761
1761
 
1762
- /**
1763
- * 公共column,会merge到columns item中
1762
+ /**
1763
+ * 公共column,会merge到columns item中
1764
1764
  */
1765
1765
  column: {
1766
1766
  type: Object
@@ -1773,36 +1773,36 @@ var proTableProps = function proTableProps() {
1773
1773
  type: Object
1774
1774
  },
1775
1775
 
1776
- /**
1777
- * 展示控件集合,readonly模式下使用这些组件渲染
1776
+ /**
1777
+ * 展示控件集合,readonly模式下使用这些组件渲染
1778
1778
  */
1779
1779
  elementMap: {
1780
1780
  type: Object
1781
1781
  },
1782
1782
 
1783
- /**
1784
- * loading
1783
+ /**
1784
+ * loading
1785
1785
  */
1786
1786
  loading: {
1787
1787
  type: Boolean
1788
1788
  },
1789
1789
 
1790
- /**
1791
- * 序号
1790
+ /**
1791
+ * 序号
1792
1792
  */
1793
1793
  serialNumber: {
1794
1794
  type: Boolean
1795
1795
  },
1796
1796
 
1797
- /**
1798
- * 分页
1797
+ /**
1798
+ * 分页
1799
1799
  */
1800
1800
  pagination: {
1801
1801
  type: Object
1802
1802
  },
1803
1803
 
1804
- /**
1805
- * provide传递
1804
+ /**
1805
+ * provide传递
1806
1806
  */
1807
1807
  provideExtra: {
1808
1808
  type: Object
@@ -1821,7 +1821,7 @@ var ProTable = defineComponent({
1821
1821
 
1822
1822
  var columns = map(mergeColumns, function (item) {
1823
1823
  //merge公共item
1824
- var nextItem = merge$1(props.column, item);
1824
+ var nextItem = _objectSpread2(_objectSpread2({}, props.column), item);
1825
1825
 
1826
1826
  if (!item.customRender) {
1827
1827
  nextItem.customRender = function (_ref2) {
package/dist/index.js CHANGED
@@ -1763,8 +1763,8 @@ var proTableProps = function proTableProps() {
1763
1763
  type: String
1764
1764
  },
1765
1765
 
1766
- /**
1767
- * 公共column,会merge到columns item中
1766
+ /**
1767
+ * 公共column,会merge到columns item中
1768
1768
  */
1769
1769
  column: {
1770
1770
  type: Object
@@ -1777,36 +1777,36 @@ var proTableProps = function proTableProps() {
1777
1777
  type: Object
1778
1778
  },
1779
1779
 
1780
- /**
1781
- * 展示控件集合,readonly模式下使用这些组件渲染
1780
+ /**
1781
+ * 展示控件集合,readonly模式下使用这些组件渲染
1782
1782
  */
1783
1783
  elementMap: {
1784
1784
  type: Object
1785
1785
  },
1786
1786
 
1787
- /**
1788
- * loading
1787
+ /**
1788
+ * loading
1789
1789
  */
1790
1790
  loading: {
1791
1791
  type: Boolean
1792
1792
  },
1793
1793
 
1794
- /**
1795
- * 序号
1794
+ /**
1795
+ * 序号
1796
1796
  */
1797
1797
  serialNumber: {
1798
1798
  type: Boolean
1799
1799
  },
1800
1800
 
1801
- /**
1802
- * 分页
1801
+ /**
1802
+ * 分页
1803
1803
  */
1804
1804
  pagination: {
1805
1805
  type: Object
1806
1806
  },
1807
1807
 
1808
- /**
1809
- * provide传递
1808
+ /**
1809
+ * provide传递
1810
1810
  */
1811
1811
  provideExtra: {
1812
1812
  type: Object
@@ -1825,7 +1825,7 @@ var ProTable = vue.defineComponent({
1825
1825
 
1826
1826
  var columns = lodash.map(mergeColumns, function (item) {
1827
1827
  //merge公共item
1828
- var nextItem = lodash.merge(props.column, item);
1828
+ var nextItem = _objectSpread2(_objectSpread2({}, props.column), item);
1829
1829
 
1830
1830
  if (!item.customRender) {
1831
1831
  nextItem.customRender = function (_ref2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-start/pro",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "> TODO: description",
5
5
  "author": "zx <zxpstudy@163.com>",
6
6
  "homepage": "https://github.com/zxeryu/vue-start#readme",
@@ -32,5 +32,5 @@
32
32
  "vue": ">=3.x",
33
33
  "vue-router": ">=4.x"
34
34
  },
35
- "gitHead": "111a06e1350911d6315f2e19a2c3abbaa64d8092"
35
+ "gitHead": "48bbd0237d16a648f2dac6ee0502854a1cbc2104"
36
36
  }