@vue-start/pro 0.5.40 → 0.5.42

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,19 @@
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.5.42
7
+
8
+ - fix:Layout tabs 子页面 query 判断 bug
9
+ - perf:show 组件添加 render 重写方法、添加 class
10
+ - perf:refresh 当前路由方法提取到 layout provide 中
11
+ - feat:page 新增 layoutTabsBackMode 属性,开启后,在 layout 中的 page showBack 设置为 false
12
+
13
+ # 0.5.41
14
+
15
+ - 更新主题渐变色计算方法
16
+ - Layout tabs bug 修复(tabs 切换参数丢失、hide 页面缓存更新、layout 初始化 tab)
17
+ - Layout tabs 拖动钩子 onDragRegister
18
+
6
19
  # 0.5.40
7
20
 
8
21
  - 新增 theme 模式
package/dist/index.css CHANGED
@@ -205,11 +205,6 @@
205
205
  color: var(--pro-color-text-regular);
206
206
  }
207
207
 
208
- .pro-layout-tabs-root .place {
209
- min-width: var(--pro-spacing-2);
210
- height: 100%;
211
- }
212
-
213
208
  .pro-layout-tabs-item {
214
209
  cursor: pointer;
215
210
  padding: 4px 12px;
package/dist/index.d.ts CHANGED
@@ -1612,6 +1612,9 @@ declare const proPageProps: () => {
1612
1612
  as: {
1613
1613
  type: StringConstructor;
1614
1614
  };
1615
+ layoutTabsBackMode: {
1616
+ type: BooleanConstructor;
1617
+ };
1615
1618
  };
1616
1619
  declare type ProPageProps = Partial<ExtractPropTypes<ReturnType<typeof proPageProps>>> & PageHeaderProps;
1617
1620
  declare const ProPage: vue.DefineComponent<ProPageProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProPageProps>, {}>;
@@ -1859,6 +1862,10 @@ declare const ProShowText: vue.DefineComponent<{
1859
1862
  convert: {
1860
1863
  type: PropType<TConvert>;
1861
1864
  };
1865
+ render: {
1866
+ type: FunctionConstructor;
1867
+ default: undefined;
1868
+ };
1862
1869
  }, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
1863
1870
  value: {
1864
1871
  type: (NumberConstructor | StringConstructor)[];
@@ -1883,7 +1890,13 @@ declare const ProShowText: vue.DefineComponent<{
1883
1890
  convert: {
1884
1891
  type: PropType<TConvert>;
1885
1892
  };
1886
- }>>, {}>;
1893
+ render: {
1894
+ type: FunctionConstructor;
1895
+ default: undefined;
1896
+ };
1897
+ }>>, {
1898
+ render: Function;
1899
+ }>;
1887
1900
  declare const ProShowDigit: vue.DefineComponent<{
1888
1901
  decimalFixed: {
1889
1902
  type: NumberConstructor;
@@ -1916,7 +1929,11 @@ declare const ProShowDigit: vue.DefineComponent<{
1916
1929
  convert: {
1917
1930
  type: PropType<TConvert>;
1918
1931
  };
1919
- }, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
1932
+ render: {
1933
+ type: FunctionConstructor;
1934
+ default: undefined;
1935
+ };
1936
+ }, () => any, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
1920
1937
  decimalFixed: {
1921
1938
  type: NumberConstructor;
1922
1939
  default: number;
@@ -1948,7 +1965,12 @@ declare const ProShowDigit: vue.DefineComponent<{
1948
1965
  convert: {
1949
1966
  type: PropType<TConvert>;
1950
1967
  };
1968
+ render: {
1969
+ type: FunctionConstructor;
1970
+ default: undefined;
1971
+ };
1951
1972
  }>>, {
1973
+ render: Function;
1952
1974
  decimalFixed: number;
1953
1975
  thousandDivision: boolean;
1954
1976
  }>;
@@ -1984,7 +2006,11 @@ declare const ProShowOptions: vue.DefineComponent<{
1984
2006
  convert: {
1985
2007
  type: PropType<TConvert>;
1986
2008
  };
1987
- }, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
2009
+ render: {
2010
+ type: FunctionConstructor;
2011
+ default: undefined;
2012
+ };
2013
+ }, () => any, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
1988
2014
  value: {
1989
2015
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1990
2016
  };
@@ -2016,7 +2042,12 @@ declare const ProShowOptions: vue.DefineComponent<{
2016
2042
  convert: {
2017
2043
  type: PropType<TConvert>;
2018
2044
  };
2045
+ render: {
2046
+ type: FunctionConstructor;
2047
+ default: undefined;
2048
+ };
2019
2049
  }>>, {
2050
+ render: Function;
2020
2051
  splitStr: string;
2021
2052
  }>;
2022
2053
  declare const ProShowTree: vue.DefineComponent<{
@@ -2052,7 +2083,11 @@ declare const ProShowTree: vue.DefineComponent<{
2052
2083
  convert: {
2053
2084
  type: PropType<TConvert>;
2054
2085
  };
2055
- }, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
2086
+ render: {
2087
+ type: FunctionConstructor;
2088
+ default: undefined;
2089
+ };
2090
+ }, () => any, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
2056
2091
  value: {
2057
2092
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
2058
2093
  };
@@ -2085,7 +2120,12 @@ declare const ProShowTree: vue.DefineComponent<{
2085
2120
  convert: {
2086
2121
  type: PropType<TConvert>;
2087
2122
  };
2123
+ render: {
2124
+ type: FunctionConstructor;
2125
+ default: undefined;
2126
+ };
2088
2127
  }>>, {
2128
+ render: Function;
2089
2129
  splitStr: string;
2090
2130
  }>;
2091
2131
  declare const ProShowDate: vue.DefineComponent<{
@@ -2124,7 +2164,11 @@ declare const ProShowDate: vue.DefineComponent<{
2124
2164
  convert: {
2125
2165
  type: PropType<TConvert>;
2126
2166
  };
2127
- }, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
2167
+ render: {
2168
+ type: FunctionConstructor;
2169
+ default: undefined;
2170
+ };
2171
+ }, () => any, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
2128
2172
  value: {
2129
2173
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
2130
2174
  };
@@ -2160,7 +2204,12 @@ declare const ProShowDate: vue.DefineComponent<{
2160
2204
  convert: {
2161
2205
  type: PropType<TConvert>;
2162
2206
  };
2207
+ render: {
2208
+ type: FunctionConstructor;
2209
+ default: undefined;
2210
+ };
2163
2211
  }>>, {
2212
+ render: Function;
2164
2213
  splitStr: string;
2165
2214
  format: string;
2166
2215
  isUnix: boolean;