next-element-vue 0.6.13 → 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.
@@ -83,6 +83,7 @@ export interface FormColunmProps extends Column {
83
83
  formPrepend?: Function;
84
84
  formAppend?: Function;
85
85
  formSpan?: number;
86
+ formSpanFixed?: number;
86
87
  formTip?: string;
87
88
  formLabel?: string;
88
89
  formMutiple?: boolean;
@@ -180,6 +181,7 @@ declare const _default: {
180
181
  formColumns: FormColunmProps | unknown;
181
182
  formLabelWidth: string;
182
183
  formSpan: number;
184
+ formSpanFixed: any;
183
185
  formColumnMinWidth: number;
184
186
  };
185
187
  export default _default;
@@ -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.13",
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.min.js",
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"