lew-ui 2.7.47 → 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.
- package/LICENSE +21 -21
- package/dist/components/form/form/src/LewFormItem.vue.d.ts +15 -15
- package/dist/components/form/form/src/props.d.ts +6 -6
- package/dist/index.css +1 -1
- package/dist/index.js +39140 -225
- package/dist/index.umd.cjs +20 -14
- package/dist/types/components.d.ts +3 -3
- package/package.json +3 -1
- package/dist/LewContextMenu-Cg9aKaqV.js +0 -219
- package/dist/index-DkcjzNyl.js +0 -37170
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 lew
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 lew
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -14,8 +14,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
14
14
|
validator: (value: any) => boolean;
|
|
15
15
|
};
|
|
16
16
|
visible: {
|
|
17
|
-
type: PropType<
|
|
18
|
-
default: boolean;
|
|
17
|
+
type: PropType<((formData: Record<string, any>) => boolean)>;
|
|
18
|
+
default: () => boolean;
|
|
19
19
|
validator: (value: any) => boolean;
|
|
20
20
|
};
|
|
21
21
|
required: {
|
|
@@ -52,13 +52,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
52
52
|
validator: (value: any) => boolean;
|
|
53
53
|
};
|
|
54
54
|
disabled: {
|
|
55
|
-
type: PropType<
|
|
56
|
-
default: boolean;
|
|
55
|
+
type: PropType<((formData: Record<string, any>) => boolean)>;
|
|
56
|
+
default: () => boolean;
|
|
57
57
|
validator: (value: any) => boolean;
|
|
58
58
|
};
|
|
59
59
|
readonly: {
|
|
60
|
-
type: PropType<
|
|
61
|
-
default: boolean;
|
|
60
|
+
type: PropType<((formData: Record<string, any>) => boolean)>;
|
|
61
|
+
default: () => boolean;
|
|
62
62
|
validator: (value: any) => boolean;
|
|
63
63
|
};
|
|
64
64
|
tips: {
|
|
@@ -137,8 +137,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
137
137
|
validator: (value: any) => boolean;
|
|
138
138
|
};
|
|
139
139
|
visible: {
|
|
140
|
-
type: PropType<
|
|
141
|
-
default: boolean;
|
|
140
|
+
type: PropType<((formData: Record<string, any>) => boolean)>;
|
|
141
|
+
default: () => boolean;
|
|
142
142
|
validator: (value: any) => boolean;
|
|
143
143
|
};
|
|
144
144
|
required: {
|
|
@@ -175,13 +175,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
175
175
|
validator: (value: any) => boolean;
|
|
176
176
|
};
|
|
177
177
|
disabled: {
|
|
178
|
-
type: PropType<
|
|
179
|
-
default: boolean;
|
|
178
|
+
type: PropType<((formData: Record<string, any>) => boolean)>;
|
|
179
|
+
default: () => boolean;
|
|
180
180
|
validator: (value: any) => boolean;
|
|
181
181
|
};
|
|
182
182
|
readonly: {
|
|
183
|
-
type: PropType<
|
|
184
|
-
default: boolean;
|
|
183
|
+
type: PropType<((formData: Record<string, any>) => boolean)>;
|
|
184
|
+
default: () => boolean;
|
|
185
185
|
validator: (value: any) => boolean;
|
|
186
186
|
};
|
|
187
187
|
tips: {
|
|
@@ -246,7 +246,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
246
246
|
"onUpdate:modelValue"?: ((value: undefined) => any) | undefined;
|
|
247
247
|
}>, {
|
|
248
248
|
size: import('../../../..').LewSize;
|
|
249
|
-
disabled:
|
|
249
|
+
disabled: (formData: Record<string, any>) => boolean;
|
|
250
250
|
label: string;
|
|
251
251
|
props: Record<string, any> | ((formData: Record<string, any>) => Record<string, any>);
|
|
252
252
|
direction: import('../../../..').LewDirection;
|
|
@@ -256,10 +256,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
256
256
|
required: boolean;
|
|
257
257
|
between: boolean;
|
|
258
258
|
labelWidth: import("csstype").Property.Width<0 | (string & {})>;
|
|
259
|
-
readonly:
|
|
259
|
+
readonly: (formData: Record<string, any>) => boolean;
|
|
260
260
|
id: string;
|
|
261
261
|
field: string;
|
|
262
|
-
visible:
|
|
262
|
+
visible: (formData: Record<string, any>) => boolean;
|
|
263
263
|
as: "" | LewFormItemAs;
|
|
264
264
|
errMessage: string;
|
|
265
265
|
outputFormat: (params: {
|
|
@@ -70,8 +70,8 @@ export declare const formItemProps: {
|
|
|
70
70
|
validator: (value: any) => boolean;
|
|
71
71
|
};
|
|
72
72
|
visible: {
|
|
73
|
-
type: PropType<
|
|
74
|
-
default: boolean;
|
|
73
|
+
type: PropType<((formData: Record<string, any>) => boolean)>;
|
|
74
|
+
default: () => boolean;
|
|
75
75
|
validator: (value: any) => boolean;
|
|
76
76
|
};
|
|
77
77
|
required: {
|
|
@@ -108,13 +108,13 @@ export declare const formItemProps: {
|
|
|
108
108
|
validator: (value: any) => boolean;
|
|
109
109
|
};
|
|
110
110
|
disabled: {
|
|
111
|
-
type: PropType<
|
|
112
|
-
default: boolean;
|
|
111
|
+
type: PropType<((formData: Record<string, any>) => boolean)>;
|
|
112
|
+
default: () => boolean;
|
|
113
113
|
validator: (value: any) => boolean;
|
|
114
114
|
};
|
|
115
115
|
readonly: {
|
|
116
|
-
type: PropType<
|
|
117
|
-
default: boolean;
|
|
116
|
+
type: PropType<((formData: Record<string, any>) => boolean)>;
|
|
117
|
+
default: () => boolean;
|
|
118
118
|
validator: (value: any) => boolean;
|
|
119
119
|
};
|
|
120
120
|
tips: {
|