lew-ui 2.7.77 → 2.7.81
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/components/form/input-tag/src/LewInputTag.vue.d.ts +2 -2
- package/dist/components/form/select/src/LewSelect.vue.d.ts +12 -12
- package/dist/hooks/usePopupManager.d.ts +6 -1
- package/dist/index.css +1 -1
- package/dist/index.js +3 -39762
- package/dist/index.umd.cjs +1 -1
- package/package.json +3 -4
|
@@ -39,10 +39,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
39
39
|
type: globalThis.PropType<string[]>;
|
|
40
40
|
};
|
|
41
41
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
+
remove: (tag: string, index: number) => void;
|
|
42
43
|
change: (value?: string[] | undefined) => void;
|
|
43
44
|
clear: () => void;
|
|
44
45
|
add: (tag: string) => void;
|
|
45
|
-
remove: (tag: string, index: number) => void;
|
|
46
46
|
"update:modelValue": (value: string[] | undefined) => void;
|
|
47
47
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
48
48
|
size: {
|
|
@@ -85,11 +85,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
85
85
|
type: globalThis.PropType<string[]>;
|
|
86
86
|
};
|
|
87
87
|
}>> & Readonly<{
|
|
88
|
+
onRemove?: ((tag: string, index: number) => any) | undefined;
|
|
88
89
|
onChange?: ((value?: string[] | undefined) => any) | undefined;
|
|
89
90
|
onClear?: (() => any) | undefined;
|
|
90
91
|
onAdd?: ((tag: string) => any) | undefined;
|
|
91
92
|
"onUpdate:modelValue"?: ((value: string[] | undefined) => any) | undefined;
|
|
92
|
-
onRemove?: ((tag: string, index: number) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
94
|
maxLength: number;
|
|
95
95
|
size: import('../../../..').LewSize;
|
|
@@ -766,10 +766,11 @@ declare function __VLS_template(): {
|
|
|
766
766
|
type: (StringConstructor | NumberConstructor)[];
|
|
767
767
|
required: true;
|
|
768
768
|
};
|
|
769
|
+
itemPreSize: {
|
|
770
|
+
type: NumberConstructor;
|
|
771
|
+
};
|
|
769
772
|
minSize: {
|
|
770
773
|
type: NumberConstructor;
|
|
771
|
-
default: number;
|
|
772
|
-
required: true;
|
|
773
774
|
};
|
|
774
775
|
itemGap: {
|
|
775
776
|
type: NumberConstructor;
|
|
@@ -873,7 +874,6 @@ declare function __VLS_template(): {
|
|
|
873
874
|
itemStyle: string | Function | Record<string, any> | unknown[];
|
|
874
875
|
itemClass: string | Function | Record<string, any> | unknown[];
|
|
875
876
|
list: any[];
|
|
876
|
-
minSize: number;
|
|
877
877
|
itemGap: number;
|
|
878
878
|
scrollDistance: number;
|
|
879
879
|
headerClass: string | Record<string, any> | unknown[];
|
|
@@ -913,10 +913,11 @@ declare function __VLS_template(): {
|
|
|
913
913
|
type: (StringConstructor | NumberConstructor)[];
|
|
914
914
|
required: true;
|
|
915
915
|
};
|
|
916
|
+
itemPreSize: {
|
|
917
|
+
type: NumberConstructor;
|
|
918
|
+
};
|
|
916
919
|
minSize: {
|
|
917
920
|
type: NumberConstructor;
|
|
918
|
-
default: number;
|
|
919
|
-
required: true;
|
|
920
921
|
};
|
|
921
922
|
itemGap: {
|
|
922
923
|
type: NumberConstructor;
|
|
@@ -1020,7 +1021,6 @@ declare function __VLS_template(): {
|
|
|
1020
1021
|
itemStyle: string | Function | Record<string, any> | unknown[];
|
|
1021
1022
|
itemClass: string | Function | Record<string, any> | unknown[];
|
|
1022
1023
|
list: any[];
|
|
1023
|
-
minSize: number;
|
|
1024
1024
|
itemGap: number;
|
|
1025
1025
|
scrollDistance: number;
|
|
1026
1026
|
headerClass: string | Record<string, any> | unknown[];
|
|
@@ -2029,10 +2029,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
2029
2029
|
type: (StringConstructor | NumberConstructor)[];
|
|
2030
2030
|
required: true;
|
|
2031
2031
|
};
|
|
2032
|
+
itemPreSize: {
|
|
2033
|
+
type: NumberConstructor;
|
|
2034
|
+
};
|
|
2032
2035
|
minSize: {
|
|
2033
2036
|
type: NumberConstructor;
|
|
2034
|
-
default: number;
|
|
2035
|
-
required: true;
|
|
2036
2037
|
};
|
|
2037
2038
|
itemGap: {
|
|
2038
2039
|
type: NumberConstructor;
|
|
@@ -2136,7 +2137,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
2136
2137
|
itemStyle: string | Function | Record<string, any> | unknown[];
|
|
2137
2138
|
itemClass: string | Function | Record<string, any> | unknown[];
|
|
2138
2139
|
list: any[];
|
|
2139
|
-
minSize: number;
|
|
2140
2140
|
itemGap: number;
|
|
2141
2141
|
scrollDistance: number;
|
|
2142
2142
|
headerClass: string | Record<string, any> | unknown[];
|
|
@@ -2176,10 +2176,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
2176
2176
|
type: (StringConstructor | NumberConstructor)[];
|
|
2177
2177
|
required: true;
|
|
2178
2178
|
};
|
|
2179
|
+
itemPreSize: {
|
|
2180
|
+
type: NumberConstructor;
|
|
2181
|
+
};
|
|
2179
2182
|
minSize: {
|
|
2180
2183
|
type: NumberConstructor;
|
|
2181
|
-
default: number;
|
|
2182
|
-
required: true;
|
|
2183
2184
|
};
|
|
2184
2185
|
itemGap: {
|
|
2185
2186
|
type: NumberConstructor;
|
|
@@ -2283,7 +2284,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
2283
2284
|
itemStyle: string | Function | Record<string, any> | unknown[];
|
|
2284
2285
|
itemClass: string | Function | Record<string, any> | unknown[];
|
|
2285
2286
|
list: any[];
|
|
2286
|
-
minSize: number;
|
|
2287
2287
|
itemGap: number;
|
|
2288
2288
|
scrollDistance: number;
|
|
2289
2289
|
headerClass: string | Record<string, any> | unknown[];
|
|
@@ -71,7 +71,12 @@ declare const popupManager: PopupManager;
|
|
|
71
71
|
* 弹出层管理器 Hook
|
|
72
72
|
* 用于 Modal 和 Drawer 组件管理 z-index 和 ESC 关闭
|
|
73
73
|
*
|
|
74
|
-
* @param options 配置选项
|
|
74
|
+
* @param options - 配置选项
|
|
75
|
+
* @param options.id - 唯一标识
|
|
76
|
+
* @param options.type - 类型:modal 或 drawer
|
|
77
|
+
* @param options.visible - 可见性 v-model
|
|
78
|
+
* @param options.closeByEsc - 是否支持 ESC 关闭
|
|
79
|
+
* @param options.onClose - 关闭时的自定义回调
|
|
75
80
|
* @returns 管理器方法和响应式 z-index
|
|
76
81
|
*/
|
|
77
82
|
export declare function usePopupManager(options: {
|