@vue-start/pro 0.5.62 → 0.5.64
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 +4 -0
- package/dist/index.d.ts +28 -25
- package/dist/index.es.js +2181 -2108
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.63
|
|
7
|
+
|
|
8
|
+
- fix: ProUploaderText convertItem 方法参数添加fieldNames;
|
|
9
|
+
|
|
6
10
|
# 0.5.58
|
|
7
11
|
|
|
8
12
|
- fix: ant-design-vue ProCurdModal 关闭 bug 修复;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="lodash" />
|
|
2
2
|
import * as vue from 'vue';
|
|
3
|
-
import { VNode, ExtractPropTypes, PropType, DefineComponent, App, UnwrapNestedRefs as UnwrapNestedRefs$1, Ref as Ref$1 } from 'vue';
|
|
3
|
+
import { VNode, ExtractPropTypes, PropType, DefineComponent, ComputedRef, App, UnwrapNestedRefs as UnwrapNestedRefs$1, Ref as Ref$1 } from 'vue';
|
|
4
4
|
import * as _vue_reactivity from '@vue/reactivity';
|
|
5
|
-
import { UnwrapNestedRefs, Ref, UnwrapRef, ComputedRef } from '@vue/reactivity';
|
|
5
|
+
import { UnwrapNestedRefs, Ref, UnwrapRef, ComputedRef as ComputedRef$1 } from '@vue/reactivity';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
import { IRequestActor } from '@vue-start/request';
|
|
8
8
|
import * as _vue_start_store from '@vue-start/store';
|
|
@@ -733,6 +733,7 @@ declare const AppConfig: {
|
|
|
733
733
|
isGray: boolean;
|
|
734
734
|
isInvert: boolean;
|
|
735
735
|
isWatermark: boolean;
|
|
736
|
+
locale: string;
|
|
736
737
|
};
|
|
737
738
|
declare type TAppConfig = typeof AppConfig;
|
|
738
739
|
|
|
@@ -819,6 +820,8 @@ interface IProConfigProvide {
|
|
|
819
820
|
showModal: (opts: Record<string, any>) => any;
|
|
820
821
|
showNotify: (opts: Record<string, any>) => any;
|
|
821
822
|
appConfig: TAppConfig;
|
|
823
|
+
localeConfig: ComputedRef<Record<string, string>>;
|
|
824
|
+
t: ComputedRef<(k: string) => string>;
|
|
822
825
|
}
|
|
823
826
|
declare const proConfigProps: () => {
|
|
824
827
|
elementMap: {
|
|
@@ -876,6 +879,7 @@ declare const proConfigProps: () => {
|
|
|
876
879
|
isGray: boolean;
|
|
877
880
|
isInvert: boolean;
|
|
878
881
|
isWatermark: boolean;
|
|
882
|
+
locale: string;
|
|
879
883
|
}>;
|
|
880
884
|
default: {
|
|
881
885
|
layout: string;
|
|
@@ -894,8 +898,12 @@ declare const proConfigProps: () => {
|
|
|
894
898
|
isGray: boolean;
|
|
895
899
|
isInvert: boolean;
|
|
896
900
|
isWatermark: boolean;
|
|
901
|
+
locale: string;
|
|
897
902
|
};
|
|
898
903
|
};
|
|
904
|
+
localeConfig: {
|
|
905
|
+
type: ObjectConstructor;
|
|
906
|
+
};
|
|
899
907
|
};
|
|
900
908
|
declare const useProConfig: () => IProConfigProvide;
|
|
901
909
|
declare const useProMsg: () => (opts: Record<string, any>) => any;
|
|
@@ -961,6 +969,7 @@ declare const ProConfig: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
961
969
|
isGray: boolean;
|
|
962
970
|
isInvert: boolean;
|
|
963
971
|
isWatermark: boolean;
|
|
972
|
+
locale: string;
|
|
964
973
|
}>;
|
|
965
974
|
default: {
|
|
966
975
|
layout: string;
|
|
@@ -979,8 +988,12 @@ declare const ProConfig: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
979
988
|
isGray: boolean;
|
|
980
989
|
isInvert: boolean;
|
|
981
990
|
isWatermark: boolean;
|
|
991
|
+
locale: string;
|
|
982
992
|
};
|
|
983
993
|
};
|
|
994
|
+
localeConfig: {
|
|
995
|
+
type: ObjectConstructor;
|
|
996
|
+
};
|
|
984
997
|
}>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
|
|
985
998
|
elementMap: {
|
|
986
999
|
type: PropType<TElementMap>;
|
|
@@ -1037,6 +1050,7 @@ declare const ProConfig: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1037
1050
|
isGray: boolean;
|
|
1038
1051
|
isInvert: boolean;
|
|
1039
1052
|
isWatermark: boolean;
|
|
1053
|
+
locale: string;
|
|
1040
1054
|
}>;
|
|
1041
1055
|
default: {
|
|
1042
1056
|
layout: string;
|
|
@@ -1055,8 +1069,12 @@ declare const ProConfig: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1055
1069
|
isGray: boolean;
|
|
1056
1070
|
isInvert: boolean;
|
|
1057
1071
|
isWatermark: boolean;
|
|
1072
|
+
locale: string;
|
|
1058
1073
|
};
|
|
1059
1074
|
};
|
|
1075
|
+
localeConfig: {
|
|
1076
|
+
type: ObjectConstructor;
|
|
1077
|
+
};
|
|
1060
1078
|
}>>>, {}>;
|
|
1061
1079
|
/**
|
|
1062
1080
|
* app.use 方式注册
|
|
@@ -1740,15 +1758,12 @@ declare const proTableProps: () => {
|
|
|
1740
1758
|
type: PropType<() => VNode<vue.RendererNode, vue.RendererElement, {
|
|
1741
1759
|
[key: string]: any;
|
|
1742
1760
|
}>>;
|
|
1743
|
-
default: () => string;
|
|
1744
1761
|
};
|
|
1745
1762
|
allTitle: {
|
|
1746
1763
|
type: StringConstructor;
|
|
1747
|
-
default: string;
|
|
1748
1764
|
};
|
|
1749
1765
|
resetTitle: {
|
|
1750
1766
|
type: StringConstructor;
|
|
1751
|
-
default: string;
|
|
1752
1767
|
};
|
|
1753
1768
|
}>> | undefined;
|
|
1754
1769
|
}>;
|
|
@@ -1802,15 +1817,12 @@ declare const proColumnSetting: () => {
|
|
|
1802
1817
|
};
|
|
1803
1818
|
renderDom: {
|
|
1804
1819
|
type: PropType<() => VNode>;
|
|
1805
|
-
default: () => string;
|
|
1806
1820
|
};
|
|
1807
1821
|
allTitle: {
|
|
1808
1822
|
type: StringConstructor;
|
|
1809
|
-
default: string;
|
|
1810
1823
|
};
|
|
1811
1824
|
resetTitle: {
|
|
1812
1825
|
type: StringConstructor;
|
|
1813
|
-
default: string;
|
|
1814
1826
|
};
|
|
1815
1827
|
};
|
|
1816
1828
|
declare type ProColumnSettingProps = Partial<ExtractPropTypes<ReturnType<typeof proColumnSetting>>>;
|
|
@@ -1836,15 +1848,12 @@ declare const ColumnSetting: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1836
1848
|
};
|
|
1837
1849
|
renderDom: {
|
|
1838
1850
|
type: PropType<() => VNode>;
|
|
1839
|
-
default: () => string;
|
|
1840
1851
|
};
|
|
1841
1852
|
allTitle: {
|
|
1842
1853
|
type: StringConstructor;
|
|
1843
|
-
default: string;
|
|
1844
1854
|
};
|
|
1845
1855
|
resetTitle: {
|
|
1846
1856
|
type: StringConstructor;
|
|
1847
|
-
default: string;
|
|
1848
1857
|
};
|
|
1849
1858
|
}>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
|
|
1850
1859
|
/**
|
|
@@ -1868,15 +1877,12 @@ declare const ColumnSetting: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1868
1877
|
};
|
|
1869
1878
|
renderDom: {
|
|
1870
1879
|
type: PropType<() => VNode>;
|
|
1871
|
-
default: () => string;
|
|
1872
1880
|
};
|
|
1873
1881
|
allTitle: {
|
|
1874
1882
|
type: StringConstructor;
|
|
1875
|
-
default: string;
|
|
1876
1883
|
};
|
|
1877
1884
|
resetTitle: {
|
|
1878
1885
|
type: StringConstructor;
|
|
1879
|
-
default: string;
|
|
1880
1886
|
};
|
|
1881
1887
|
}>>>, {}>;
|
|
1882
1888
|
|
|
@@ -1897,7 +1903,6 @@ declare const proPageHeaderProps: () => {
|
|
|
1897
1903
|
};
|
|
1898
1904
|
renderBackIcon: {
|
|
1899
1905
|
type: PropType<() => VNode>;
|
|
1900
|
-
default: () => string;
|
|
1901
1906
|
};
|
|
1902
1907
|
};
|
|
1903
1908
|
declare type PageHeaderProps = Partial<ExtractPropTypes<ReturnType<typeof proPageHeaderProps>>>;
|
|
@@ -1918,7 +1923,6 @@ declare const PageHeader: vue.DefineComponent<{
|
|
|
1918
1923
|
};
|
|
1919
1924
|
renderBackIcon: {
|
|
1920
1925
|
type: PropType<() => VNode>;
|
|
1921
|
-
default: () => string;
|
|
1922
1926
|
};
|
|
1923
1927
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
1924
1928
|
title: {
|
|
@@ -1937,12 +1941,10 @@ declare const PageHeader: vue.DefineComponent<{
|
|
|
1937
1941
|
};
|
|
1938
1942
|
renderBackIcon: {
|
|
1939
1943
|
type: PropType<() => VNode>;
|
|
1940
|
-
default: () => string;
|
|
1941
1944
|
};
|
|
1942
1945
|
}>>, {
|
|
1943
1946
|
showBack: boolean;
|
|
1944
1947
|
hideWhileNoHistory: boolean;
|
|
1945
|
-
renderBackIcon: () => VNode;
|
|
1946
1948
|
}>;
|
|
1947
1949
|
declare const proPageProps: () => {
|
|
1948
1950
|
loading: {
|
|
@@ -3276,15 +3278,15 @@ interface IProCurdProvide {
|
|
|
3276
3278
|
operates: ICurdOperateOpts[];
|
|
3277
3279
|
getOperate: (action: ICurdAction) => ICurdOperateOpts | undefined;
|
|
3278
3280
|
refreshList: (extra?: Record<string, any>) => void;
|
|
3279
|
-
defaultAddRecord?: ComputedRef<Record<string, any> | undefined>;
|
|
3281
|
+
defaultAddRecord?: ComputedRef$1<Record<string, any> | undefined>;
|
|
3280
3282
|
title?: string;
|
|
3281
3283
|
/******************子组件参数*******************/
|
|
3282
|
-
listProps?: ComputedRef<Record<string, any> | undefined>;
|
|
3283
|
-
formProps?: ComputedRef<Record<string, any> | undefined>;
|
|
3284
|
-
descProps?: ComputedRef<Record<string, any> | undefined>;
|
|
3285
|
-
modalProps?: ComputedRef<Record<string, any> | undefined>;
|
|
3286
|
-
pageProps?: ComputedRef<Record<string, any> | undefined>;
|
|
3287
|
-
subPageProps?: ComputedRef<Record<string, any> | undefined>;
|
|
3284
|
+
listProps?: ComputedRef$1<Record<string, any> | undefined>;
|
|
3285
|
+
formProps?: ComputedRef$1<Record<string, any> | undefined>;
|
|
3286
|
+
descProps?: ComputedRef$1<Record<string, any> | undefined>;
|
|
3287
|
+
modalProps?: ComputedRef$1<Record<string, any> | undefined>;
|
|
3288
|
+
pageProps?: ComputedRef$1<Record<string, any> | undefined>;
|
|
3289
|
+
subPageProps?: ComputedRef$1<Record<string, any> | undefined>;
|
|
3288
3290
|
}
|
|
3289
3291
|
declare const useProCurd: <T extends IProCurdProvide>() => T;
|
|
3290
3292
|
declare const provideProCurd: (ctx: IProCurdProvide) => void;
|
|
@@ -3746,6 +3748,7 @@ declare const useAppConfig: () => {
|
|
|
3746
3748
|
isGray: boolean;
|
|
3747
3749
|
isInvert: boolean;
|
|
3748
3750
|
isWatermark: boolean;
|
|
3751
|
+
locale: string;
|
|
3749
3752
|
};
|
|
3750
3753
|
readonly setAppConfig: (c: TAppConfig | TUpdater<TAppConfig>) => void;
|
|
3751
3754
|
readonly delAppConfig: () => void;
|