next-element-vue 0.6.14 → 0.6.15
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/index.d.ts +2 -1
- package/dist/index.js +3 -3
- package/dist/packages/components/crud-table-virtualized/src/index-demo.d.ts +1 -1
- package/dist/packages/hooks/global-config.d.ts +7 -0
- package/dist/packages/hooks/use-namespace/index.d.ts +0 -1
- package/dist/packages/utils/theme.d.ts +4 -0
- package/package.json +3 -2
|
@@ -60,8 +60,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
60
60
|
[x: `on${Capitalize<any>}`]: (...args: any[]) => any;
|
|
61
61
|
}>, {
|
|
62
62
|
data: unknown[];
|
|
63
|
-
className: string;
|
|
64
63
|
style: import("vue").CSSProperties;
|
|
64
|
+
className: string;
|
|
65
65
|
options: Record<string, any>;
|
|
66
66
|
loading: boolean;
|
|
67
67
|
page: Record<string, any>;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
interface CrudTableConfig {
|
|
2
|
+
btnText?: boolean;
|
|
3
|
+
btnPlain?: boolean;
|
|
4
|
+
btnSize?: 'large' | 'default' | 'small';
|
|
5
|
+
}
|
|
1
6
|
export interface ConfigProviderOptions {
|
|
2
7
|
theme?: 'light' | 'dark';
|
|
3
8
|
locale?: string;
|
|
4
9
|
size?: 'large' | 'default' | 'small';
|
|
10
|
+
crudTable?: CrudTableConfig;
|
|
5
11
|
}
|
|
6
12
|
export declare const defaultConfigProviderOptions: ConfigProviderOptions;
|
|
7
13
|
export declare const configProviderContextKey: unique symbol;
|
|
8
14
|
export declare const getConfigProviderContext: () => ConfigProviderOptions;
|
|
15
|
+
export {};
|
|
@@ -21,4 +21,3 @@ export declare const useNamespace: (block: string, namespaceOverrides?: Ref<stri
|
|
|
21
21
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
22
22
|
cssVarBlockName: (name: string) => string;
|
|
23
23
|
};
|
|
24
|
-
export type UseNamespaceReturn = ReturnType<typeof useNamespace>;
|
|
@@ -13,5 +13,9 @@ export declare function useChangeColor(): {
|
|
|
13
13
|
rgbaToHexAlpha: (rgba: string) => string;
|
|
14
14
|
getDarkColor: (color: string, level: number) => string;
|
|
15
15
|
getLightColor: (color: string, level: number) => string;
|
|
16
|
+
rgbaToHexOpacity: (rgba: string) => {
|
|
17
|
+
color: string;
|
|
18
|
+
opacity: number;
|
|
19
|
+
};
|
|
16
20
|
};
|
|
17
21
|
export declare function randomColor16(): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-element-vue",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.15",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "huangteng",
|
|
6
6
|
"email": "junehunter@163.com"
|
|
@@ -13,10 +13,11 @@
|
|
|
13
13
|
"labelimg",
|
|
14
14
|
"labelme"
|
|
15
15
|
],
|
|
16
|
-
"main": "dist/index.
|
|
16
|
+
"main": "dist/index.js",
|
|
17
17
|
"module": "dist/index.js",
|
|
18
18
|
"unpkg": "dist/index.umd.min.js",
|
|
19
19
|
"jsdelivr": "dist/index.umd.min.js",
|
|
20
|
+
"style": "dist/index.css",
|
|
20
21
|
"types": "dist/index.d.ts",
|
|
21
22
|
"files": [
|
|
22
23
|
"dist"
|