lew-ui 2.7.1 → 2.7.3
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/cascader/src/LewCascader.vue.d.ts +21 -0
- package/dist/components/cascader/src/props.d.ts +10 -0
- package/dist/components/select/src/LewSelect.vue.d.ts +36 -0
- package/dist/components/select/src/props.d.ts +16 -0
- package/dist/components/select/src/util.d.ts +1 -1
- package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +35 -1
- package/dist/components/select-multiple/src/props.d.ts +15 -0
- package/dist/components/slider/src/LewSlider.vue.d.ts +4 -4
- package/dist/components/slider-range/src/LewSliderRange.vue.d.ts +8 -4
- package/dist/components/text-trim/src/text-trim.d.ts +1 -1
- package/dist/components/tree/src/LewTree.vue.d.ts +5 -5
- package/dist/components/tree/src/props.d.ts +1 -1
- package/dist/components/tree/src/transformTree.d.ts +3 -3
- package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +31 -8
- package/dist/components/tree-select/src/props.d.ts +13 -2
- package/dist/index.mjs +990 -425
- package/dist/index.umd.js +4 -4
- package/dist/locals/de.d.ts +3 -0
- package/dist/locals/en.d.ts +3 -0
- package/dist/locals/es.d.ts +3 -0
- package/dist/locals/fr.d.ts +3 -0
- package/dist/locals/it.d.ts +3 -0
- package/dist/locals/ja.d.ts +3 -0
- package/dist/locals/ko.d.ts +3 -0
- package/dist/locals/pt.d.ts +3 -0
- package/dist/locals/zh.d.ts +3 -0
- package/dist/methods/notification/src/index.d.ts +5 -5
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +4 -4
- package/package.json +2 -2
package/dist/utils/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare const any2px: (value: number | string | undefined) => string;
|
|
|
29
29
|
* @param {number | string | undefined} value - 要校验的值。
|
|
30
30
|
* @returns {boolean} 如果输入的值是有效的 CSS 值,则返回 true,否则返回 false。
|
|
31
31
|
*/
|
|
32
|
-
export declare const isValidCssValue: ({ name, field, value }: {
|
|
32
|
+
export declare const isValidCssValue: ({ name, field, value, }: {
|
|
33
33
|
name: string;
|
|
34
34
|
field: string;
|
|
35
35
|
value: number | string | undefined;
|
|
@@ -73,7 +73,7 @@ export declare const formatBytes: (bytes: number, decimals?: number) => string;
|
|
|
73
73
|
* @param {string} options.type - 资源类型。
|
|
74
74
|
* @returns {string} 静态资源文件的URL。
|
|
75
75
|
*/
|
|
76
|
-
export declare const getAssetsFile: ({ name, type }: {
|
|
76
|
+
export declare const getAssetsFile: ({ name, type, }: {
|
|
77
77
|
name: string;
|
|
78
78
|
type: string;
|
|
79
79
|
}) => string;
|
|
@@ -85,7 +85,7 @@ export declare const getAssetsFile: ({ name, type }: {
|
|
|
85
85
|
export declare const getFileIcon: (fileName?: string) => string;
|
|
86
86
|
export declare const getIconInnerHTML: (e?: any) => string;
|
|
87
87
|
export declare const checkUrlIsImage: (url?: string) => boolean;
|
|
88
|
-
export declare const dragmove: ({ el, parentEl, direction, callback, max, min, step, trackMax, trackMin }: {
|
|
88
|
+
export declare const dragmove: ({ el, parentEl, direction, callback, max, min, step, trackMax, trackMin, }: {
|
|
89
89
|
el: HTMLElement;
|
|
90
90
|
parentEl: HTMLElement;
|
|
91
91
|
direction?: "horizontal" | "vertical" | "both";
|
|
@@ -115,7 +115,7 @@ export declare const parseToStandardJSON: (str: string) => any;
|
|
|
115
115
|
* @param {Function} callback - 轮询回调函数
|
|
116
116
|
* @param {Function} vail - 判断依据 如果 true 停止轮询
|
|
117
117
|
*/
|
|
118
|
-
export declare const poll: ({ interval, timeout, callback, vail }: {
|
|
118
|
+
export declare const poll: ({ interval, timeout, callback, vail, }: {
|
|
119
119
|
interval?: number;
|
|
120
120
|
timeout?: number;
|
|
121
121
|
callback: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lew-ui",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.3",
|
|
4
4
|
"description": "A Component Library for Vue3.js.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue3",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"tippy.js": "^6.3.7",
|
|
49
49
|
"vue-i18n": "^11.1.0",
|
|
50
50
|
"vue-router": "^4.0.13",
|
|
51
|
-
"vue-virt-list": "^1.5.
|
|
51
|
+
"vue-virt-list": "^1.5.11",
|
|
52
52
|
"vuedraggable": "^4.1.0",
|
|
53
53
|
"yup": "^1.2.0"
|
|
54
54
|
},
|