@vunk/plus 1.7.5 → 1.8.1
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/components/scrollbar/index.d.ts +4 -0
- package/components/scrollbar/index.mjs +595 -0
- package/components/scrollbar/src/bar.d.ts +15 -0
- package/components/scrollbar/src/bar.vue.d.ts +138 -0
- package/components/scrollbar/src/index.vue.d.ts +552 -0
- package/components/scrollbar/src/thumb.d.ts +15 -0
- package/components/scrollbar/src/thumb.vue.d.ts +97 -0
- package/components/scrollbar/src/types.d.ts +1 -0
- package/components/scrollbar/src/util.d.ts +3 -0
- package/components/tables-v1/src/ctx.d.ts +3 -3
- package/components/tables-v1/src/el-ctx.d.ts +1 -1
- package/components/tables-v1/src/index.vue.d.ts +2 -2
- package/components/tables-v1-checkbox/src/ctx.d.ts +1 -1
- package/components/tables-v1-checkbox/src/index.vue.d.ts +6 -6
- package/components/text/src/ctx.d.ts +2 -2
- package/components/text/src/index.vue.d.ts +12 -12
- package/package.json +5 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const createTextBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"tag", keyof T2> | Extract<"truncated", keyof T2> | Extract<"lineClamp", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"tag", keyof T2>, KE> | Exclude<Extract<"truncated", keyof T2>, KE> | Exclude<Extract<"lineClamp", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"tag", keyof T2> | Extract<"truncated", keyof T2> | Extract<"lineClamp", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"tag", keyof T2> | Extract<"truncated", keyof T2> | Extract<"lineClamp", keyof T2>]: T2[k]; }[P]; }>;
|
|
2
|
-
export declare const createTooltipBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"disabled", keyof T2> | Extract<"style", keyof T2> | Extract<"content", keyof T2> | Extract<"placement", keyof T2> | Extract<"id", keyof T2> | Extract<"role", keyof T2> | Extract<"onClick", keyof T2> | Extract<"onFocus", keyof T2> | Extract<"onBlur", keyof T2> | Extract<"onKeydown", keyof T2> | Extract<"onContextmenu", keyof T2> | Extract<"onMouseenter", keyof T2> | Extract<"onMouseleave", keyof T2> | Extract<"className", keyof T2> | Extract<"open", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"offset", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"visible", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"
|
|
2
|
+
export declare const createTooltipBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"disabled", keyof T2> | Extract<"style", keyof T2> | Extract<"content", keyof T2> | Extract<"placement", keyof T2> | Extract<"id", keyof T2> | Extract<"role", keyof T2> | Extract<"onClick", keyof T2> | Extract<"onFocus", keyof T2> | Extract<"onBlur", keyof T2> | Extract<"onKeydown", keyof T2> | Extract<"onContextmenu", keyof T2> | Extract<"onMouseenter", keyof T2> | Extract<"onMouseleave", keyof T2> | Extract<"className", keyof T2> | Extract<"open", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"offset", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"visible", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"arrowOffset", keyof T2> | Extract<"trigger", keyof T2> | Extract<"triggerKeys", keyof T2> | Extract<"virtualRef", keyof T2> | Extract<"virtualTriggering", keyof T2> | Extract<"rawContent", keyof T2> | Extract<"persistent", keyof T2> | Extract<"transition", keyof T2> | Extract<"effect", keyof T2> | Extract<"enterable", keyof T2> | Extract<"pure", keyof T2> | Extract<"focusOnShow", keyof T2> | Extract<"trapping", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"referenceEl", keyof T2> | Extract<"triggerTargetEl", keyof T2> | Extract<"stopPopperMouseEvent", keyof T2> | Extract<"boundariesPadding", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"gpuAcceleration", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"strategy", keyof T2> | Extract<"showAfter", keyof T2> | Extract<"hideAfter", keyof T2> | Extract<"autoClose", keyof T2> | Extract<"onUpdate:visible", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"style", keyof T2>, KE> | Exclude<Extract<"content", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"role", keyof T2>, KE> | Exclude<Extract<"onClick", keyof T2>, KE> | Exclude<Extract<"onFocus", keyof T2>, KE> | Exclude<Extract<"onBlur", keyof T2>, KE> | Exclude<Extract<"onKeydown", keyof T2>, KE> | Exclude<Extract<"onContextmenu", keyof T2>, KE> | Exclude<Extract<"onMouseenter", keyof T2>, KE> | Exclude<Extract<"onMouseleave", keyof T2>, KE> | Exclude<Extract<"className", keyof T2>, KE> | Exclude<Extract<"open", keyof T2>, KE> | Exclude<Extract<"appendTo", keyof T2>, KE> | Exclude<Extract<"offset", keyof T2>, KE> | Exclude<Extract<"zIndex", keyof T2>, KE> | Exclude<Extract<"visible", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"showArrow", keyof T2>, KE> | Exclude<Extract<"arrowOffset", keyof T2>, KE> | Exclude<Extract<"trigger", keyof T2>, KE> | Exclude<Extract<"triggerKeys", keyof T2>, KE> | Exclude<Extract<"virtualRef", keyof T2>, KE> | Exclude<Extract<"virtualTriggering", keyof T2>, KE> | Exclude<Extract<"rawContent", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"transition", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"enterable", keyof T2>, KE> | Exclude<Extract<"pure", keyof T2>, KE> | Exclude<Extract<"focusOnShow", keyof T2>, KE> | Exclude<Extract<"trapping", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"referenceEl", keyof T2>, KE> | Exclude<Extract<"triggerTargetEl", keyof T2>, KE> | Exclude<Extract<"stopPopperMouseEvent", keyof T2>, KE> | Exclude<Extract<"boundariesPadding", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"gpuAcceleration", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"strategy", keyof T2>, KE> | Exclude<Extract<"showAfter", keyof T2>, KE> | Exclude<Extract<"hideAfter", keyof T2>, KE> | Exclude<Extract<"autoClose", keyof T2>, KE> | Exclude<Extract<"onUpdate:visible", keyof T2>, KE> : Extract<"disabled", keyof T2> | Extract<"style", keyof T2> | Extract<"content", keyof T2> | Extract<"placement", keyof T2> | Extract<"id", keyof T2> | Extract<"role", keyof T2> | Extract<"onClick", keyof T2> | Extract<"onFocus", keyof T2> | Extract<"onBlur", keyof T2> | Extract<"onKeydown", keyof T2> | Extract<"onContextmenu", keyof T2> | Extract<"onMouseenter", keyof T2> | Extract<"onMouseleave", keyof T2> | Extract<"className", keyof T2> | Extract<"open", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"offset", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"visible", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"arrowOffset", keyof T2> | Extract<"trigger", keyof T2> | Extract<"triggerKeys", keyof T2> | Extract<"virtualRef", keyof T2> | Extract<"virtualTriggering", keyof T2> | Extract<"rawContent", keyof T2> | Extract<"persistent", keyof T2> | Extract<"transition", keyof T2> | Extract<"effect", keyof T2> | Extract<"enterable", keyof T2> | Extract<"pure", keyof T2> | Extract<"focusOnShow", keyof T2> | Extract<"trapping", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"referenceEl", keyof T2> | Extract<"triggerTargetEl", keyof T2> | Extract<"stopPopperMouseEvent", keyof T2> | Extract<"boundariesPadding", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"gpuAcceleration", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"strategy", keyof T2> | Extract<"showAfter", keyof T2> | Extract<"hideAfter", keyof T2> | Extract<"autoClose", keyof T2> | Extract<"onUpdate:visible", keyof T2>]: { [k in Extract<"disabled", keyof T2> | Extract<"style", keyof T2> | Extract<"content", keyof T2> | Extract<"placement", keyof T2> | Extract<"id", keyof T2> | Extract<"role", keyof T2> | Extract<"onClick", keyof T2> | Extract<"onFocus", keyof T2> | Extract<"onBlur", keyof T2> | Extract<"onKeydown", keyof T2> | Extract<"onContextmenu", keyof T2> | Extract<"onMouseenter", keyof T2> | Extract<"onMouseleave", keyof T2> | Extract<"className", keyof T2> | Extract<"open", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"offset", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"visible", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"arrowOffset", keyof T2> | Extract<"trigger", keyof T2> | Extract<"triggerKeys", keyof T2> | Extract<"virtualRef", keyof T2> | Extract<"virtualTriggering", keyof T2> | Extract<"rawContent", keyof T2> | Extract<"persistent", keyof T2> | Extract<"transition", keyof T2> | Extract<"effect", keyof T2> | Extract<"enterable", keyof T2> | Extract<"pure", keyof T2> | Extract<"focusOnShow", keyof T2> | Extract<"trapping", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"referenceEl", keyof T2> | Extract<"triggerTargetEl", keyof T2> | Extract<"stopPopperMouseEvent", keyof T2> | Extract<"boundariesPadding", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"gpuAcceleration", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"strategy", keyof T2> | Extract<"showAfter", keyof T2> | Extract<"hideAfter", keyof T2> | Extract<"autoClose", keyof T2> | Extract<"onUpdate:visible", keyof T2>]: T2[k]; }[P]; }>;
|
|
3
3
|
export declare const props: {
|
|
4
4
|
showArrow: {
|
|
5
5
|
readonly type: import("vue").PropType<boolean>;
|
|
@@ -314,7 +314,7 @@ export declare const props: {
|
|
|
314
314
|
__epPropKey: true;
|
|
315
315
|
};
|
|
316
316
|
role: {
|
|
317
|
-
readonly type: import("vue").PropType<"dialog" | "menu" | "
|
|
317
|
+
readonly type: import("vue").PropType<"dialog" | "menu" | "listbox" | "grid" | "tooltip" | "tree" | "group" | "navigation">;
|
|
318
318
|
readonly required: false;
|
|
319
319
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
320
320
|
__epPropKey: true;
|
|
@@ -312,7 +312,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
312
312
|
__epPropKey: true;
|
|
313
313
|
};
|
|
314
314
|
role: {
|
|
315
|
-
readonly type: import("vue").PropType<"dialog" | "menu" | "
|
|
315
|
+
readonly type: import("vue").PropType<"dialog" | "menu" | "listbox" | "grid" | "tooltip" | "tree" | "group" | "navigation">;
|
|
316
316
|
readonly required: false;
|
|
317
317
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
318
318
|
__epPropKey: true;
|
|
@@ -665,7 +665,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
665
665
|
__epPropKey: true;
|
|
666
666
|
};
|
|
667
667
|
role: {
|
|
668
|
-
readonly type: import("vue").PropType<"dialog" | "menu" | "
|
|
668
|
+
readonly type: import("vue").PropType<"dialog" | "menu" | "listbox" | "grid" | "tooltip" | "tree" | "group" | "navigation">;
|
|
669
669
|
readonly required: false;
|
|
670
670
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
671
671
|
__epPropKey: true;
|
|
@@ -710,7 +710,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
710
710
|
style: import("vue").StyleValue;
|
|
711
711
|
placement: import("element-plus").Placement;
|
|
712
712
|
id: string | undefined;
|
|
713
|
-
role: "dialog" | "menu" | "
|
|
713
|
+
role: "dialog" | "menu" | "listbox" | "grid" | "tooltip" | "tree" | "group" | "navigation";
|
|
714
714
|
onClick: ((e: Event) => void) | undefined;
|
|
715
715
|
onFocus: ((e: Event) => void) | undefined;
|
|
716
716
|
onBlur: ((e: Event) => void) | undefined;
|
|
@@ -770,13 +770,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
770
770
|
[x: string]: boolean;
|
|
771
771
|
})[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
772
772
|
teleported: boolean;
|
|
773
|
+
ariaLabel: string | undefined;
|
|
773
774
|
showArrow: boolean;
|
|
774
775
|
arrowOffset: number;
|
|
775
776
|
trigger: import("element-plus").TooltipTriggerType | import("element-plus").TooltipTriggerType[];
|
|
776
777
|
triggerKeys: string[];
|
|
777
778
|
virtualRef: import("element-plus").Measurable | undefined;
|
|
778
779
|
virtualTriggering: boolean;
|
|
779
|
-
ariaLabel: string | undefined;
|
|
780
780
|
rawContent: boolean;
|
|
781
781
|
persistent: boolean;
|
|
782
782
|
transition: string | undefined;
|
|
@@ -1161,7 +1161,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1161
1161
|
__epPropKey: true;
|
|
1162
1162
|
};
|
|
1163
1163
|
role: {
|
|
1164
|
-
readonly type: import("vue").PropType<"dialog" | "menu" | "
|
|
1164
|
+
readonly type: import("vue").PropType<"dialog" | "menu" | "listbox" | "grid" | "tooltip" | "tree" | "group" | "navigation">;
|
|
1165
1165
|
readonly required: false;
|
|
1166
1166
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1167
1167
|
__epPropKey: true;
|
|
@@ -1190,7 +1190,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1190
1190
|
showAfter: number;
|
|
1191
1191
|
hideAfter: number;
|
|
1192
1192
|
autoClose: number;
|
|
1193
|
-
role: "dialog" | "menu" | "
|
|
1193
|
+
role: "dialog" | "menu" | "listbox" | "grid" | "tooltip" | "tree" | "group" | "navigation";
|
|
1194
1194
|
trigger: import("element-plus").TooltipTriggerType | import("element-plus").TooltipTriggerType[];
|
|
1195
1195
|
virtualTriggering: boolean;
|
|
1196
1196
|
arrowOffset: number;
|
|
@@ -1529,7 +1529,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1529
1529
|
__epPropKey: true;
|
|
1530
1530
|
};
|
|
1531
1531
|
role: {
|
|
1532
|
-
readonly type: import("vue").PropType<"dialog" | "menu" | "
|
|
1532
|
+
readonly type: import("vue").PropType<"dialog" | "menu" | "listbox" | "grid" | "tooltip" | "tree" | "group" | "navigation">;
|
|
1533
1533
|
readonly required: false;
|
|
1534
1534
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1535
1535
|
__epPropKey: true;
|
|
@@ -1556,7 +1556,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1556
1556
|
showAfter: number;
|
|
1557
1557
|
hideAfter: number;
|
|
1558
1558
|
autoClose: number;
|
|
1559
|
-
role: "dialog" | "menu" | "
|
|
1559
|
+
role: "dialog" | "menu" | "listbox" | "grid" | "tooltip" | "tree" | "group" | "navigation";
|
|
1560
1560
|
trigger: import("element-plus").TooltipTriggerType | import("element-plus").TooltipTriggerType[];
|
|
1561
1561
|
virtualTriggering: boolean;
|
|
1562
1562
|
arrowOffset: number;
|
|
@@ -1892,7 +1892,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1892
1892
|
__epPropKey: true;
|
|
1893
1893
|
};
|
|
1894
1894
|
role: {
|
|
1895
|
-
readonly type: import("vue").PropType<"dialog" | "menu" | "
|
|
1895
|
+
readonly type: import("vue").PropType<"dialog" | "menu" | "listbox" | "grid" | "tooltip" | "tree" | "group" | "navigation">;
|
|
1896
1896
|
readonly required: false;
|
|
1897
1897
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1898
1898
|
__epPropKey: true;
|
|
@@ -1921,7 +1921,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1921
1921
|
showAfter: number;
|
|
1922
1922
|
hideAfter: number;
|
|
1923
1923
|
autoClose: number;
|
|
1924
|
-
role: "dialog" | "menu" | "
|
|
1924
|
+
role: "dialog" | "menu" | "listbox" | "grid" | "tooltip" | "tree" | "group" | "navigation";
|
|
1925
1925
|
trigger: import("element-plus").TooltipTriggerType | import("element-plus").TooltipTriggerType[];
|
|
1926
1926
|
virtualTriggering: boolean;
|
|
1927
1927
|
arrowOffset: number;
|
|
@@ -2259,7 +2259,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2259
2259
|
__epPropKey: true;
|
|
2260
2260
|
};
|
|
2261
2261
|
role: {
|
|
2262
|
-
readonly type: import("vue").PropType<"dialog" | "menu" | "
|
|
2262
|
+
readonly type: import("vue").PropType<"dialog" | "menu" | "listbox" | "grid" | "tooltip" | "tree" | "group" | "navigation">;
|
|
2263
2263
|
readonly required: false;
|
|
2264
2264
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2265
2265
|
__epPropKey: true;
|
|
@@ -2303,7 +2303,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2303
2303
|
size: "" | "small" | "default" | "large";
|
|
2304
2304
|
content: string;
|
|
2305
2305
|
placement: import("element-plus").Placement;
|
|
2306
|
-
role: "dialog" | "menu" | "
|
|
2306
|
+
role: "dialog" | "menu" | "listbox" | "grid" | "tooltip" | "tree" | "group" | "navigation";
|
|
2307
2307
|
open: boolean;
|
|
2308
2308
|
tag: string;
|
|
2309
2309
|
offset: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vunk/plus",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -103,6 +103,10 @@
|
|
|
103
103
|
"import": "./components/sender/index.mjs",
|
|
104
104
|
"types": "./components/sender/index.d.ts"
|
|
105
105
|
},
|
|
106
|
+
"./components/scrollbar": {
|
|
107
|
+
"import": "./components/scrollbar/index.mjs",
|
|
108
|
+
"types": "./components/scrollbar/index.d.ts"
|
|
109
|
+
},
|
|
106
110
|
"./components/routes-menu-content": {
|
|
107
111
|
"import": "./components/routes-menu-content/index.mjs",
|
|
108
112
|
"types": "./components/routes-menu-content/index.d.ts"
|