lew-ui 2.7.46 → 2.7.48

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.
@@ -111,8 +111,8 @@ export interface LewFormOption {
111
111
  width?: Property.Width;
112
112
  labelWidth?: Property.Width;
113
113
  direction?: LewDirection;
114
- disabled?: boolean | ((formData: Record<string, any>) => boolean);
115
- readonly?: boolean | ((formData: Record<string, any>) => boolean);
114
+ disabled?: boolean | ((formData: Record<string, any>) => boolean) | undefined;
115
+ readonly?: boolean | ((formData: Record<string, any>) => boolean) | undefined;
116
116
  tips?: string;
117
117
  errMessage?: string;
118
118
  rule?: any | string;
@@ -128,7 +128,7 @@ export interface LewFormOption {
128
128
  value: unknown;
129
129
  item?: LewFormOption;
130
130
  }) => unknown;
131
- visible?: boolean | ((formData: Record<string, any>) => boolean);
131
+ visible?: boolean | ((formData: Record<string, any>) => boolean) | undefined;
132
132
  dependencies?: string[];
133
133
  }
134
134
  export interface LewSelectOption {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lew-ui",
3
3
  "type": "module",
4
- "version": "2.7.46",
4
+ "version": "2.7.48",
5
5
  "description": "A Component Library for Vue3.js.",
6
6
  "author": "lewkamtao",
7
7
  "license": "MIT",
@@ -56,6 +56,7 @@
56
56
  "axios": "^1.6.7",
57
57
  "csstype": "^3.1.3",
58
58
  "dayjs": "^1.11.13",
59
+ "expr-eval": "^2.0.2",
59
60
  "lodash-es": "^4.17.21",
60
61
  "lucide-vue-next": "^0.534.0",
61
62
  "rollup-plugin-scss": "^4.0.1",
@@ -1,4 +0,0 @@
1
- export declare const avatarEmits: {
2
- readonly load: () => void;
3
- readonly error: () => void;
4
- };
@@ -1,5 +0,0 @@
1
- export declare const imageEmits: {
2
- readonly load: (event: Event) => Event;
3
- readonly error: (event: Event) => Event;
4
- readonly click: (event: MouseEvent) => MouseEvent;
5
- };