@pixelium/web-vue 0.0.4 → 0.0.5
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/index.d.ts +162 -120
- package/dist/pixelium-vue.cjs +1 -1
- package/dist/pixelium-vue.css +1 -1
- package/dist/pixelium-vue.js +19 -21
- package/dist/pixelium-vue.umd.cjs +1 -1
- package/es/alert/index.d.ts +3 -2
- package/es/alert/type.d.ts +15 -15
- package/es/aside/index.d.ts +3 -2
- package/es/auto-complete/index.d.ts +2 -1
- package/es/avatar/index.d.ts +3 -2
- package/es/back-top/index.d.ts +21 -0
- package/es/back-top/type.d.ts +46 -0
- package/es/badge/index.d.ts +3 -2
- package/es/badge/type.d.ts +12 -12
- package/es/breadcrumb/index.d.ts +12 -0
- package/es/breadcrumb/type.d.ts +52 -0
- package/es/breadcrumb-item/index.d.ts +27 -0
- package/es/breadcrumb-item/type.d.ts +49 -0
- package/es/button/index.d.ts +3 -2
- package/es/button-group/index.d.ts +3 -2
- package/es/checkbox/index.d.ts +3 -2
- package/es/checkbox-group/index.d.ts +3 -2
- package/es/col/index.d.ts +3 -2
- package/es/container/index.d.ts +3 -2
- package/es/dialog/dialog-wrapped.d.ts +9 -8
- package/es/dialog/dialog.d.ts +9 -8
- package/es/dialog/type.d.ts +58 -58
- package/es/divider/index.d.ts +2 -1
- package/es/drop-down/index.d.ts +36 -0
- package/es/drop-down/type.d.ts +140 -0
- package/es/drop-down-list/index.d.ts +10 -0
- package/es/drop-down-list/type.d.ts +19 -0
- package/es/empty/index.d.ts +3 -2
- package/es/footer/index.d.ts +3 -2
- package/es/form/index.d.ts +3 -2
- package/es/form-item/index.d.ts +9 -8
- package/es/grid/index.d.ts +3 -2
- package/es/grid-item/index.d.ts +3 -2
- package/es/header/index.d.ts +3 -2
- package/es/icon/index.d.ts +3 -2
- package/es/image/index.d.ts +3 -2
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/input/index.d.ts +7 -6
- package/es/input-group/index.d.ts +3 -2
- package/es/input-group-label/index.d.ts +3 -2
- package/es/input-number/index.d.ts +5 -4
- package/es/input-tag/index.css +1 -0
- package/es/input-tag/index.d.ts +13 -12
- package/es/link/index.d.ts +3 -2
- package/es/main/index.d.ts +3 -2
- package/es/mask/index.d.ts +2 -1
- package/es/menu/index.d.ts +24 -0
- package/es/menu/type.d.ts +145 -0
- package/es/menu-group/index.d.ts +16 -0
- package/es/menu-group/type.d.ts +19 -0
- package/es/menu-item/index.d.ts +26 -0
- package/es/menu-item/type.d.ts +44 -0
- package/es/message/index.d.ts +2 -1
- package/es/message-box/message-box-wrapped.d.ts +2 -1
- package/es/message-box/message-box.d.ts +2 -1
- package/es/option-list/index.d.ts +2 -1
- package/es/popconfirm/index.d.ts +2 -1
- package/es/popconfirm/type.d.ts +35 -35
- package/es/popover/index.d.ts +2 -1
- package/es/popup/index.d.ts +2 -1
- package/es/popup/use-mouse-position.d.ts +1 -0
- package/es/popup/util.d.ts +6 -0
- package/es/popup-content/index.d.ts +5 -4
- package/es/popup-portal/index.d.ts +5 -4
- package/es/popup-trigger/index.d.ts +2 -1
- package/es/popup-wrapper/index.d.ts +5 -4
- package/es/popup-wrapper/use-popup-wrapper-manager.d.ts +22 -1
- package/es/progress/index.d.ts +4 -3
- package/es/progress/type.d.ts +14 -14
- package/es/radio/index.d.ts +3 -2
- package/es/radio-group/index.d.ts +3 -2
- package/es/row/index.d.ts +3 -2
- package/es/scroll-bar/index.d.ts +40 -0
- package/es/scroll-bar/type.d.ts +85 -0
- package/es/scroll-bar/use-scroll-bar.d.ts +1 -0
- package/es/select/index.css +1 -1
- package/es/select/index.d.ts +2 -1
- package/es/share/hook/use-expand.d.ts +2 -0
- package/es/share/hook/use-hidden-measure.d.ts +1 -0
- package/es/share/hook/use-pixel-size.d.ts +1 -0
- package/es/share/util/locale.d.ts +4 -0
- package/es/share/util/scroll.d.ts +2 -0
- package/es/slider/index.d.ts +16 -15
- package/es/space/index.d.ts +2 -1
- package/es/spin/index.d.ts +6 -5
- package/es/submenu/index.d.ts +28 -0
- package/es/submenu/type.d.ts +60 -0
- package/es/switch/index.d.ts +3 -2
- package/es/table/index.d.ts +68 -0
- package/es/table/module/cell-span.d.ts +7 -0
- package/es/table/module/column.d.ts +46 -0
- package/es/table/module/draw.d.ts +11 -0
- package/es/table/module/event.d.ts +9 -0
- package/es/table/module/expandable.d.ts +20 -0
- package/es/table/module/filterable.d.ts +9 -0
- package/es/table/module/selection.d.ts +20 -0
- package/es/table/module/share.d.ts +8 -0
- package/es/table/module/sortable.d.ts +10 -0
- package/es/table/module/summary.d.ts +2 -0
- package/es/table/type.d.ts +733 -0
- package/es/tag/index.css +3 -3
- package/es/tag/index.d.ts +3 -2
- package/es/text-outline/index.d.ts +3 -2
- package/es/textarea/index.d.ts +5 -4
- package/es/theme/theme.d.ts +21 -0
- package/es/{share/util → theme}/theme.js +22 -22
- package/es/tooltip/index.d.ts +2 -1
- package/es/vendor.js +1 -1
- package/es/virtual-list/index.d.ts +2 -1
- package/package.json +1 -1
- package/es/share/hook/use-props-detect.d.ts +0 -2
- package/es/share/util/pixel.d.ts +0 -4
- package/es/share/util/theme.d.ts +0 -7
package/es/popconfirm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { PopconfirmProps, PopconfirmExpose } from './type';
|
|
|
2
2
|
type __VLS_Props = PopconfirmProps & {
|
|
3
3
|
onBeforeOk?: () => Promise<boolean | void> | boolean | void;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, PopconfirmExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
cancel: (event: MouseEvent | KeyboardEvent) => any;
|
|
7
7
|
close: (e: MouseEvent | TouchEvent) => any;
|
|
8
8
|
open: (e: MouseEvent) => any;
|
|
@@ -28,4 +28,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, PopconfirmExp
|
|
|
28
28
|
showFooter: boolean;
|
|
29
29
|
showIcon: boolean;
|
|
30
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
31
32
|
export default _default;
|
package/es/popconfirm/type.d.ts
CHANGED
|
@@ -4,117 +4,117 @@ import type { EmitEvent, RestAttrs } from '../share/type';
|
|
|
4
4
|
export type PopconfirmProps = {
|
|
5
5
|
/**
|
|
6
6
|
* @property {string} [content]
|
|
7
|
-
* @version 0.0
|
|
7
|
+
* @version 0.1.0
|
|
8
8
|
*/
|
|
9
9
|
content?: string;
|
|
10
10
|
/**
|
|
11
11
|
* @property {boolean | null} [visible]
|
|
12
|
-
* @version 0.0
|
|
12
|
+
* @version 0.1.0
|
|
13
13
|
*/
|
|
14
14
|
visible?: boolean | null;
|
|
15
15
|
/**
|
|
16
16
|
* @property {boolean | null} [defaultVisible]
|
|
17
|
-
* @version 0.0
|
|
17
|
+
* @version 0.1.0
|
|
18
18
|
*/
|
|
19
19
|
defaultVisible?: boolean | null;
|
|
20
20
|
/**
|
|
21
21
|
* @property {boolean} [loading=false]
|
|
22
|
-
* @version 0.0
|
|
22
|
+
* @version 0.1.0
|
|
23
23
|
*/
|
|
24
24
|
loading?: boolean;
|
|
25
25
|
/**
|
|
26
26
|
* @property {'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end'} [placement='top']
|
|
27
|
-
* @version 0.0
|
|
27
|
+
* @version 0.1.0
|
|
28
28
|
*/
|
|
29
29
|
placement?: 'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end';
|
|
30
30
|
/**
|
|
31
31
|
* @property {string} [okText]
|
|
32
|
-
* @version 0.0
|
|
32
|
+
* @version 0.1.0
|
|
33
33
|
*/
|
|
34
34
|
okText?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @property {string} [cancelText]
|
|
37
|
-
* @version 0.0
|
|
37
|
+
* @version 0.1.0
|
|
38
38
|
*/
|
|
39
39
|
cancelText?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @property {boolean} [showIcon=true]
|
|
42
|
-
* @version 0.0
|
|
42
|
+
* @version 0.1.0
|
|
43
43
|
*/
|
|
44
44
|
showIcon?: boolean;
|
|
45
45
|
/**
|
|
46
46
|
* @property {boolean} [showCancel=true]
|
|
47
|
-
* @version 0.0
|
|
47
|
+
* @version 0.1.0
|
|
48
48
|
*/
|
|
49
49
|
showCancel?: boolean;
|
|
50
50
|
/**
|
|
51
51
|
* @property {boolean} [showFooter=true]
|
|
52
|
-
* @version 0.0
|
|
52
|
+
* @version 0.1.0
|
|
53
53
|
*/
|
|
54
54
|
showFooter?: boolean;
|
|
55
55
|
/**
|
|
56
56
|
* @property {number} [offset=8]
|
|
57
|
-
* @version 0.0
|
|
57
|
+
* @version 0.1.0
|
|
58
58
|
*/
|
|
59
59
|
offset?: number;
|
|
60
60
|
/**
|
|
61
61
|
* @property {'dark' | 'light'} [variant='light']
|
|
62
|
-
* @version 0.0
|
|
62
|
+
* @version 0.1.0
|
|
63
63
|
*/
|
|
64
64
|
variant?: 'dark' | 'light';
|
|
65
65
|
/**
|
|
66
66
|
* @property {boolean} [arrow=true]
|
|
67
|
-
* @version 0.0
|
|
67
|
+
* @version 0.1.0
|
|
68
68
|
*/
|
|
69
69
|
arrow?: boolean;
|
|
70
70
|
/**
|
|
71
71
|
* @property {boolean} [disabled=false]
|
|
72
|
-
* @version 0.0
|
|
72
|
+
* @version 0.1.0
|
|
73
73
|
*/
|
|
74
74
|
disabled?: boolean;
|
|
75
75
|
/**
|
|
76
76
|
* @property {number} [zIndex]
|
|
77
|
-
* @version 0.0
|
|
77
|
+
* @version 0.1.0
|
|
78
78
|
*/
|
|
79
79
|
zIndex?: number;
|
|
80
80
|
/**
|
|
81
81
|
* @property { HTMLElement | string} [root='body']
|
|
82
|
-
* @version 0.0
|
|
82
|
+
* @version 0.1.0
|
|
83
83
|
*/
|
|
84
84
|
root?: HTMLElement | string;
|
|
85
85
|
/**
|
|
86
86
|
* @property {boolean} [destroyOnHide=false]
|
|
87
|
-
* @version 0.0
|
|
87
|
+
* @version 0.1.0
|
|
88
88
|
*/
|
|
89
89
|
destroyOnHide?: boolean;
|
|
90
90
|
/**
|
|
91
91
|
* @property {Omit<PopoverProps, 'visible' | 'content' | 'defaultVisible'> & EmitEvent<PopoverEvents>} [popoverProps]
|
|
92
|
-
* @version 0.0
|
|
92
|
+
* @version 0.1.0
|
|
93
93
|
*/
|
|
94
94
|
popoverProps?: Omit<PopoverProps, 'visible' | 'content' | 'defaultVisible'> & EmitEvent<PopoverEvents>;
|
|
95
95
|
/**
|
|
96
96
|
* @property {ButtonProps & EmitEvent<ButtonEvents> & RestAttrs} [okButtonProps]
|
|
97
|
-
* @version 0.0
|
|
97
|
+
* @version 0.1.0
|
|
98
98
|
*/
|
|
99
99
|
okButtonProps?: ButtonProps & EmitEvent<ButtonEvents> & RestAttrs;
|
|
100
100
|
/**
|
|
101
101
|
* @property {ButtonProps & EmitEvent<ButtonEvents> & RestAttrs} [cancelButtonProps]
|
|
102
|
-
* @version 0.0
|
|
102
|
+
* @version 0.1.0
|
|
103
103
|
*/
|
|
104
104
|
cancelButtonProps?: ButtonProps & EmitEvent<ButtonEvents> & RestAttrs;
|
|
105
105
|
/**
|
|
106
106
|
* @property {RestAttrs} [containerProps]
|
|
107
|
-
* @version 0.0
|
|
107
|
+
* @version 0.1.0
|
|
108
108
|
*/
|
|
109
109
|
containerProps?: RestAttrs;
|
|
110
110
|
/**
|
|
111
111
|
* @property {RestAttrs} [contentProps]
|
|
112
|
-
* @version 0.0
|
|
112
|
+
* @version 0.1.0
|
|
113
113
|
*/
|
|
114
114
|
contentProps?: RestAttrs;
|
|
115
115
|
/**
|
|
116
116
|
* @property {RestAttrs} [footerProps]
|
|
117
|
-
* @version 0.0
|
|
117
|
+
* @version 0.1.0
|
|
118
118
|
*/
|
|
119
119
|
footerProps?: RestAttrs;
|
|
120
120
|
};
|
|
@@ -122,70 +122,70 @@ export type PopconfirmEvents = {
|
|
|
122
122
|
/**
|
|
123
123
|
* @event update:visible
|
|
124
124
|
* @param {boolean} value
|
|
125
|
-
* @version 0.0
|
|
125
|
+
* @version 0.1.0
|
|
126
126
|
*/
|
|
127
127
|
'update:visible': [value: boolean];
|
|
128
128
|
/**
|
|
129
129
|
* @event beforeOk
|
|
130
|
-
* @version 0.0
|
|
130
|
+
* @version 0.1.0
|
|
131
131
|
*/
|
|
132
132
|
beforeOk: [];
|
|
133
133
|
/**
|
|
134
134
|
* @event ok
|
|
135
135
|
* @param {MouseEvent} event
|
|
136
|
-
* @version 0.0
|
|
136
|
+
* @version 0.1.0
|
|
137
137
|
*/
|
|
138
138
|
ok: [event: MouseEvent];
|
|
139
139
|
/**
|
|
140
140
|
* @event cancel
|
|
141
141
|
* @param {MouseEvent | KeyboardEvent} event
|
|
142
|
-
* @version 0.0
|
|
142
|
+
* @version 0.1.0
|
|
143
143
|
*/
|
|
144
144
|
cancel: [event: MouseEvent | KeyboardEvent];
|
|
145
145
|
/**
|
|
146
146
|
* @event close
|
|
147
147
|
* @param {MouseEvent} e
|
|
148
|
-
* @version 0.0
|
|
148
|
+
* @version 0.1.0
|
|
149
149
|
*/
|
|
150
150
|
close: [e: MouseEvent | TouchEvent];
|
|
151
151
|
/**
|
|
152
152
|
* @event open
|
|
153
153
|
* @param {MouseEvent} e
|
|
154
|
-
* @version 0.0
|
|
154
|
+
* @version 0.1.0
|
|
155
155
|
*/
|
|
156
156
|
open: [e: MouseEvent];
|
|
157
157
|
};
|
|
158
158
|
export type PopconfirmSlots = {
|
|
159
159
|
/**
|
|
160
160
|
* @slot default
|
|
161
|
-
* @version 0.0
|
|
161
|
+
* @version 0.1.0
|
|
162
162
|
*/
|
|
163
163
|
default: {};
|
|
164
164
|
/**
|
|
165
165
|
* @slot content
|
|
166
|
-
* @version 0.0
|
|
166
|
+
* @version 0.1.0
|
|
167
167
|
*/
|
|
168
168
|
content: {};
|
|
169
169
|
/**
|
|
170
170
|
* @slot icon
|
|
171
|
-
* @version 0.0
|
|
171
|
+
* @version 0.1.0
|
|
172
172
|
*/
|
|
173
173
|
icon: {};
|
|
174
174
|
/**
|
|
175
175
|
* @slot footer
|
|
176
|
-
* @version 0.0
|
|
176
|
+
* @version 0.1.0
|
|
177
177
|
*/
|
|
178
178
|
footer: {};
|
|
179
179
|
};
|
|
180
180
|
export type PopconfirmExpose = {
|
|
181
181
|
/**
|
|
182
182
|
* @property {() => void} open
|
|
183
|
-
* @version 0.0
|
|
183
|
+
* @version 0.1.0
|
|
184
184
|
*/
|
|
185
185
|
open: () => void;
|
|
186
186
|
/**
|
|
187
187
|
* @property {() => void} close
|
|
188
|
-
* @version 0.0
|
|
188
|
+
* @version 0.1.0
|
|
189
189
|
*/
|
|
190
190
|
close: () => void;
|
|
191
191
|
/**
|
package/es/popover/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PopoverProps } from './type';
|
|
2
|
-
declare const
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<PopoverProps, {
|
|
3
3
|
readonly triggerContent: ({
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
@@ -114,4 +114,5 @@ declare const _default: import("vue").DefineComponent<PopoverProps, {
|
|
|
114
114
|
widthEqual: boolean;
|
|
115
115
|
destroyOnHide: boolean;
|
|
116
116
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
117
|
+
declare const _default: typeof __VLS_export;
|
|
117
118
|
export default _default;
|
package/es/popup/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { nextTick, type VNode } from 'vue';
|
|
2
2
|
import type { PopupProps } from './type';
|
|
3
|
-
declare const
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<PopupProps, {
|
|
4
4
|
triggerContent: import("vue").ShallowRef<({
|
|
5
5
|
$: import("vue").ComponentInternalInstance;
|
|
6
6
|
$data: {};
|
|
@@ -207,4 +207,5 @@ declare const _default: import("vue").DefineComponent<PopupProps, {
|
|
|
207
207
|
widthEqual: boolean;
|
|
208
208
|
destroyOnHide: boolean;
|
|
209
209
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
210
|
+
declare const _default: typeof __VLS_export;
|
|
210
211
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useMousePosition(): readonly [import("vue").Ref<number, number>, import("vue").Ref<number, number>];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
import PopupContent from '../popup-content/index.ts';
|
|
3
|
+
import type { PopupContentGetter } from './type';
|
|
4
|
+
export declare const getElFromVNode: (node: VNode) => HTMLElement | SVGElement | null;
|
|
5
|
+
export declare function traversePopupContentGetterImplBFS(root: PopupContentGetter, callback: (content: InstanceType<typeof PopupContent> | undefined | null, id: string) => boolean): boolean;
|
|
6
|
+
export declare function traversePopupContentGetters(nodes: PopupContentGetter[], callback: (content: InstanceType<typeof PopupContent> | undefined | null, id: string) => boolean): boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { PopupContentProps } from './type';
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_14: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
content?: (props: typeof
|
|
4
|
+
content?: (props: typeof __VLS_14) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<PopupContentProps, {
|
|
7
7
|
updateRenderState: () => void;
|
|
8
8
|
content: import("vue").ShallowRef<HTMLDivElement | null, HTMLDivElement | null>;
|
|
9
9
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -22,7 +22,8 @@ declare const __VLS_component: import("vue").DefineComponent<PopupContentProps,
|
|
|
22
22
|
widthEqual: boolean;
|
|
23
23
|
destroyOnHide: boolean;
|
|
24
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
-
declare const
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
26
27
|
export default _default;
|
|
27
28
|
type __VLS_WithSlots<T, S> = T & {
|
|
28
29
|
new (): {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { PopupPortalProps } from './type';
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<PopupPortalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PopupPortalProps> & Readonly<{}>, {
|
|
7
7
|
root: HTMLElement | string;
|
|
8
8
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
declare const
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
10
11
|
export default _default;
|
|
11
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
12
13
|
new (): {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type VNode } from 'vue';
|
|
2
2
|
import type { PopupTriggerProps } from './type';
|
|
3
|
-
declare const
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<PopupTriggerProps, {
|
|
4
4
|
firstVNode: import("vue").ShallowRef<VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}> | null, VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -25,4 +25,5 @@ declare const _default: import("vue").DefineComponent<PopupTriggerProps, {
|
|
|
25
25
|
}>, {
|
|
26
26
|
trigger: "hover" | "click";
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
28
29
|
export default _default;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import type { PopupWrapperProps } from './type';
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<PopupWrapperProps, {
|
|
7
7
|
updateRenderState: () => void;
|
|
8
8
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PopupWrapperProps> & Readonly<{}>, {
|
|
9
9
|
root: HTMLElement | string;
|
|
10
10
|
destroyOnHide: boolean;
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
-
declare const
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
13
14
|
export default _default;
|
|
14
15
|
type __VLS_WithSlots<T, S> = T & {
|
|
15
16
|
new (): {
|
|
@@ -1 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
type PopupWrapperInfo = {
|
|
2
|
+
id: string;
|
|
3
|
+
escKeydownHandler: (e: KeyboardEvent) => void;
|
|
4
|
+
needPreventDocumentScroll: () => boolean;
|
|
5
|
+
getZIndex: () => number;
|
|
6
|
+
};
|
|
7
|
+
declare class PopupWrapperManager {
|
|
8
|
+
private popups;
|
|
9
|
+
sortedPopups: PopupWrapperInfo[];
|
|
10
|
+
private isListening;
|
|
11
|
+
add(info: PopupWrapperInfo): void;
|
|
12
|
+
remove(id: string): void;
|
|
13
|
+
getTop(): PopupWrapperInfo | undefined;
|
|
14
|
+
hasPreventScroll(): boolean;
|
|
15
|
+
private findInsertIndex;
|
|
16
|
+
private updateState;
|
|
17
|
+
clearState(): void;
|
|
18
|
+
}
|
|
19
|
+
export declare const popupWrapperManager: PopupWrapperManager;
|
|
20
|
+
export declare const cleanState: () => void;
|
|
21
|
+
export declare const usePopupWrapperManager: (info: PopupWrapperInfo) => readonly [() => void, () => void];
|
|
22
|
+
export {};
|
package/es/progress/index.d.ts
CHANGED
|
@@ -13,16 +13,17 @@ type __VLS_Slots = {} & {
|
|
|
13
13
|
} & {
|
|
14
14
|
append?: (props: typeof __VLS_5) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<ProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
|
|
17
17
|
size: "medium" | "large" | "small" | number;
|
|
18
|
-
variant: "solid" | "
|
|
18
|
+
variant: "solid" | "checkered";
|
|
19
19
|
theme: "primary" | "sakura" | "success" | "warning" | "danger";
|
|
20
20
|
pollSizeChange: boolean;
|
|
21
21
|
gap: number;
|
|
22
22
|
percentage: number;
|
|
23
23
|
indicatorPlacement: "inside" | "outside";
|
|
24
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
-
declare const
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
26
27
|
export default _default;
|
|
27
28
|
type __VLS_WithSlots<T, S> = T & {
|
|
28
29
|
new (): {
|
package/es/progress/type.d.ts
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
export type ProgressProps = {
|
|
2
2
|
/**
|
|
3
3
|
* @property {number} [percentage=0]
|
|
4
|
-
* @version 0.0
|
|
4
|
+
* @version 0.1.0
|
|
5
5
|
*/
|
|
6
6
|
percentage?: number;
|
|
7
7
|
/**
|
|
8
|
-
* @property {'solid' | '
|
|
9
|
-
* @version 0.0
|
|
8
|
+
* @property {'solid' | 'checkered'} [variant='solid']
|
|
9
|
+
* @version 0.1.0
|
|
10
10
|
*/
|
|
11
|
-
variant?: 'solid' | '
|
|
11
|
+
variant?: 'solid' | 'checkered';
|
|
12
12
|
/**
|
|
13
13
|
* @property {'primary' | 'sakura' | 'success' | 'warning' | 'danger'} [theme='primary']
|
|
14
|
-
* @version 0.0
|
|
14
|
+
* @version 0.1.0
|
|
15
15
|
*/
|
|
16
16
|
theme?: 'primary' | 'sakura' | 'success' | 'warning' | 'danger';
|
|
17
17
|
/**
|
|
18
18
|
* @property {'medium' | 'large' | 'small'} [size='medium']
|
|
19
|
-
* @version 0.0
|
|
19
|
+
* @version 0.1.0
|
|
20
20
|
*/
|
|
21
21
|
size?: 'medium' | 'large' | 'small' | number;
|
|
22
22
|
/**
|
|
23
23
|
* @property {number} [gap=2]
|
|
24
|
-
* @version 0.0
|
|
24
|
+
* @version 0.1.0
|
|
25
25
|
*/
|
|
26
26
|
gap?: number;
|
|
27
27
|
/**
|
|
28
28
|
* @property {'inside' | 'outside'} [indicatorPlacement='inside']
|
|
29
|
-
* @version 0.0
|
|
29
|
+
* @version 0.1.0
|
|
30
30
|
*/
|
|
31
31
|
indicatorPlacement?: 'inside' | 'outside';
|
|
32
32
|
/**
|
|
33
33
|
* @property {string} [color]
|
|
34
|
-
* @version 0.0
|
|
34
|
+
* @version 0.1.0
|
|
35
35
|
*/
|
|
36
36
|
color?: string;
|
|
37
37
|
/**
|
|
38
38
|
* @property {string} [color]
|
|
39
|
-
* @version 0.0
|
|
39
|
+
* @version 0.1.0
|
|
40
40
|
*/
|
|
41
41
|
trackColor?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @property {boolean} [pollSizeChange=false]
|
|
44
|
-
* @version 0.0
|
|
44
|
+
* @version 0.1.0
|
|
45
45
|
*/
|
|
46
46
|
pollSizeChange?: boolean;
|
|
47
47
|
};
|
|
@@ -49,19 +49,19 @@ export type ProgressSlots = {
|
|
|
49
49
|
/**
|
|
50
50
|
* @slot append
|
|
51
51
|
* @param {number} percentage
|
|
52
|
-
* @version 0.0
|
|
52
|
+
* @version 0.1.0
|
|
53
53
|
*/
|
|
54
54
|
append: {};
|
|
55
55
|
/**
|
|
56
56
|
* @slot prepend
|
|
57
57
|
* @param {number} percentage
|
|
58
|
-
* @version 0.0
|
|
58
|
+
* @version 0.1.0
|
|
59
59
|
*/
|
|
60
60
|
prepend: {};
|
|
61
61
|
/**
|
|
62
62
|
* @slot indicator
|
|
63
63
|
* @param {number} percentage
|
|
64
|
-
* @version 0.0
|
|
64
|
+
* @version 0.1.0
|
|
65
65
|
*/
|
|
66
66
|
indicator: {};
|
|
67
67
|
};
|
package/es/radio/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ declare var __VLS_1: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<RadioProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
change: (value: boolean, event: Event) => any;
|
|
8
8
|
blur: (event: FocusEvent) => any;
|
|
9
9
|
input: (value: boolean, event: InputEvent) => any;
|
|
@@ -21,7 +21,8 @@ declare const __VLS_component: import("vue").DefineComponent<RadioProps, {}, {},
|
|
|
21
21
|
modelValue: boolean | null;
|
|
22
22
|
defaultValue: boolean | null;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
-
declare const
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
25
26
|
export default _default;
|
|
26
27
|
type __VLS_WithSlots<T, S> = T & {
|
|
27
28
|
new (): {
|
|
@@ -3,7 +3,7 @@ declare var __VLS_1: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<RadioGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
change: (value: any) => any;
|
|
8
8
|
"update:modelValue": (value: any) => any;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<RadioGroupProps> & Readonly<{
|
|
@@ -14,7 +14,8 @@ declare const __VLS_component: import("vue").DefineComponent<RadioGroupProps, {}
|
|
|
14
14
|
readonly: boolean;
|
|
15
15
|
direction: "horizontal" | "vertical";
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
18
19
|
export default _default;
|
|
19
20
|
type __VLS_WithSlots<T, S> = T & {
|
|
20
21
|
new (): {
|
package/es/row/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare var __VLS_1: {};
|
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
default?: (props: typeof __VLS_1) => any;
|
|
6
6
|
};
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<RowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RowProps> & Readonly<{}>, {
|
|
8
8
|
gutter: number | {
|
|
9
9
|
x?: number;
|
|
10
10
|
y?: number;
|
|
@@ -16,7 +16,8 @@ declare const __VLS_component: import("vue").DefineComponent<RowProps, {}, {}, {
|
|
|
16
16
|
align: "start" | "center" | "end" | "stretch";
|
|
17
17
|
wrap: boolean;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
-
declare const
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
20
21
|
export default _default;
|
|
21
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
22
23
|
new (): {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ScrollBarExpose, ScrollBarProps } from './type';
|
|
2
|
+
import type { OverlayScrollbars } from 'overlayscrollbars';
|
|
3
|
+
declare var __VLS_9: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_9) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<ScrollBarProps, ScrollBarExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
scroll: (event: Event) => any;
|
|
9
|
+
"update:scrollOffset": (value: {
|
|
10
|
+
left: number;
|
|
11
|
+
top: number;
|
|
12
|
+
}) => any;
|
|
13
|
+
initialize: (instance: OverlayScrollbars) => any;
|
|
14
|
+
update: (offset: {
|
|
15
|
+
left: number;
|
|
16
|
+
top: number;
|
|
17
|
+
}) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<ScrollBarProps> & Readonly<{
|
|
19
|
+
onScroll?: ((event: Event) => any) | undefined;
|
|
20
|
+
"onUpdate:scrollOffset"?: ((value: {
|
|
21
|
+
left: number;
|
|
22
|
+
top: number;
|
|
23
|
+
}) => any) | undefined;
|
|
24
|
+
onInitialize?: ((instance: OverlayScrollbars) => any) | undefined;
|
|
25
|
+
onUpdate?: ((offset: {
|
|
26
|
+
left: number;
|
|
27
|
+
top: number;
|
|
28
|
+
}) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
variant: "pixel" | "simple";
|
|
31
|
+
showScrollPadding: boolean;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|