@pixelium/web-vue 0.0.3 → 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.css +1 -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/draw.d.ts +1 -0
- package/es/badge/index.d.ts +26 -0
- package/es/badge/type.d.ts +69 -0
- 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.css +1 -8
- 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.css +1 -2
- 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.css +1 -2
- package/es/input-number/index.d.ts +5 -4
- package/es/input-tag/index.css +2 -2
- package/es/input-tag/index.d.ts +13 -12
- package/es/link/index.css +1 -6
- 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 +32 -0
- package/es/popconfirm/type.d.ts +199 -0
- 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/draw.d.ts +6 -0
- package/es/progress/index.d.ts +32 -0
- package/es/progress/type.d.ts +67 -0
- 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 +2 -3
- 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 +8 -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.css +1 -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
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { BadgeProps } from './type';
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
content?: (props: typeof __VLS_3) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<BadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
9
|
+
value: number | string;
|
|
10
|
+
theme: "primary" | "sakura" | "success" | "warning" | "danger";
|
|
11
|
+
pollSizeChange: boolean;
|
|
12
|
+
offset: number | [number, number] | {
|
|
13
|
+
x?: number;
|
|
14
|
+
y?: number;
|
|
15
|
+
};
|
|
16
|
+
visible: boolean;
|
|
17
|
+
dot: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { RestAttrs } from '../share/type';
|
|
2
|
+
export type BadgeProps = {
|
|
3
|
+
/**
|
|
4
|
+
* @property {number | string} [value='']
|
|
5
|
+
* @version 0.1.0
|
|
6
|
+
*/
|
|
7
|
+
value?: number | string;
|
|
8
|
+
/**
|
|
9
|
+
* @property {number} [max]
|
|
10
|
+
* @version 0.1.0
|
|
11
|
+
*/
|
|
12
|
+
max?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @property {boolean} [dot=false]
|
|
15
|
+
* @version 0.1.0
|
|
16
|
+
*/
|
|
17
|
+
dot?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @property {'primary' | 'sakura' | 'success' | 'warning' | 'danger'} [theme='danger']
|
|
20
|
+
* @version 0.1.0
|
|
21
|
+
*/
|
|
22
|
+
theme?: 'primary' | 'sakura' | 'success' | 'warning' | 'danger';
|
|
23
|
+
/**
|
|
24
|
+
* @property {boolean} [visible=true]
|
|
25
|
+
* @version 0.1.0
|
|
26
|
+
*/
|
|
27
|
+
visible?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* @property {number | [number, number] | { x?: number; y?: number }} [offset=0]
|
|
30
|
+
* @version 0.1.0
|
|
31
|
+
*/
|
|
32
|
+
offset?: number | [number, number] | {
|
|
33
|
+
x?: number;
|
|
34
|
+
y?: number;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @property {string} [color]
|
|
38
|
+
* @version 0.1.0
|
|
39
|
+
*/
|
|
40
|
+
color?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @property {string} [borderColor]
|
|
43
|
+
* @version 0.1.0
|
|
44
|
+
*/
|
|
45
|
+
borderColor?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @property {RestAttrs} [contentProps]
|
|
48
|
+
* @version 0.1.0
|
|
49
|
+
*/
|
|
50
|
+
contentProps?: RestAttrs;
|
|
51
|
+
/**
|
|
52
|
+
* @property {boolean} [pollSizeChange=false]
|
|
53
|
+
* @version 0.1.0
|
|
54
|
+
*/
|
|
55
|
+
pollSizeChange?: boolean;
|
|
56
|
+
};
|
|
57
|
+
export type BadgeSlots = {
|
|
58
|
+
/**
|
|
59
|
+
* @slot default
|
|
60
|
+
* @version 0.1.0
|
|
61
|
+
*/
|
|
62
|
+
default: {};
|
|
63
|
+
/**
|
|
64
|
+
* @slot content
|
|
65
|
+
* @param {string | string} value
|
|
66
|
+
* @version 0.1.0
|
|
67
|
+
*/
|
|
68
|
+
content: {};
|
|
69
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { BreadcrumbProps } from './type';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<BreadcrumbProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
select: (index: string | number | symbol, event: MouseEvent) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<BreadcrumbProps> & Readonly<{
|
|
5
|
+
onSelect?: ((index: string | number | symbol, event: MouseEvent) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
options: (string | import("./type").BreadcrumbOption)[];
|
|
8
|
+
splitter: string;
|
|
9
|
+
renderLastText: boolean;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { NavigationOption } from '../share/type';
|
|
3
|
+
export interface BreadcrumbOption extends NavigationOption {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
clickable?: boolean;
|
|
6
|
+
href?: string;
|
|
7
|
+
route?: string | object;
|
|
8
|
+
target?: string;
|
|
9
|
+
}
|
|
10
|
+
export type BreadcrumbProps = {
|
|
11
|
+
/**
|
|
12
|
+
* @property {(string | BreadcrumbOption)[]} [options]
|
|
13
|
+
* @version 0.1.0
|
|
14
|
+
*/
|
|
15
|
+
options?: (string | BreadcrumbOption)[];
|
|
16
|
+
/**
|
|
17
|
+
* @property {string} [splitter='>']
|
|
18
|
+
* @version 0.1.0
|
|
19
|
+
*/
|
|
20
|
+
splitter?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @property {boolean} [renderLastText=true]
|
|
23
|
+
* @version 0.1.0
|
|
24
|
+
*/
|
|
25
|
+
renderLastText?: boolean;
|
|
26
|
+
};
|
|
27
|
+
export type BreadcrumbEvents = {
|
|
28
|
+
/**
|
|
29
|
+
* @event select
|
|
30
|
+
* @version 0.1.0
|
|
31
|
+
* @param {string | number | symbol} index
|
|
32
|
+
* @param {MouseEvent} event
|
|
33
|
+
*/
|
|
34
|
+
select: [index: string | number | symbol, event: MouseEvent];
|
|
35
|
+
};
|
|
36
|
+
export type BreadcrumbSlots = {
|
|
37
|
+
/**
|
|
38
|
+
* @slot default
|
|
39
|
+
* @version 0.1.0
|
|
40
|
+
*/
|
|
41
|
+
default: {};
|
|
42
|
+
/**
|
|
43
|
+
* @slot splitter
|
|
44
|
+
* @version 0.1.0
|
|
45
|
+
*/
|
|
46
|
+
splitter: {};
|
|
47
|
+
};
|
|
48
|
+
export type BreadcrumbProvide = {
|
|
49
|
+
select: (index: string | number | symbol, e: MouseEvent) => void;
|
|
50
|
+
renderLastText: Ref<boolean>;
|
|
51
|
+
id: string;
|
|
52
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { BreadcrumbItemProps } from './type';
|
|
2
|
+
declare var __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
icon?: (props: typeof __VLS_9) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_11) => any;
|
|
7
|
+
} & {
|
|
8
|
+
icon?: (props: typeof __VLS_13) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: typeof __VLS_15) => any;
|
|
11
|
+
} & {
|
|
12
|
+
icon?: (props: typeof __VLS_17) => any;
|
|
13
|
+
} & {
|
|
14
|
+
default?: (props: typeof __VLS_19) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<BreadcrumbItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BreadcrumbItemProps> & Readonly<{}>, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
clickable: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export type BreadcrumbItemProps = {
|
|
2
|
+
/**
|
|
3
|
+
* @property {string} [label]
|
|
4
|
+
* @version 0.1.0
|
|
5
|
+
*/
|
|
6
|
+
label?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @property {string | number | symbol} index
|
|
9
|
+
* @version 0.1.0
|
|
10
|
+
*/
|
|
11
|
+
index: string | number | symbol;
|
|
12
|
+
/**
|
|
13
|
+
* @property {boolean} [disabled=false]
|
|
14
|
+
* @version 0.1.0
|
|
15
|
+
*/
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* @property {boolean} [clickable=true]
|
|
19
|
+
* @version 0.1.0
|
|
20
|
+
*/
|
|
21
|
+
clickable?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* @property {string} [href]
|
|
24
|
+
* @version 0.1.0
|
|
25
|
+
*/
|
|
26
|
+
href?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @property {string | object} [route]
|
|
29
|
+
* @version 0.1.0
|
|
30
|
+
*/
|
|
31
|
+
route?: string | object;
|
|
32
|
+
/**
|
|
33
|
+
* @property {string} [target]
|
|
34
|
+
* @version 0.1.0
|
|
35
|
+
*/
|
|
36
|
+
target?: string;
|
|
37
|
+
};
|
|
38
|
+
export type BreadcrumbItemSlots = {
|
|
39
|
+
/**
|
|
40
|
+
* @slot default
|
|
41
|
+
* @version 0.1.0
|
|
42
|
+
*/
|
|
43
|
+
default: {};
|
|
44
|
+
/**
|
|
45
|
+
* @slot icon
|
|
46
|
+
* @version 0.1.0
|
|
47
|
+
*/
|
|
48
|
+
icon: {};
|
|
49
|
+
};
|
package/es/button/index.css
CHANGED
|
@@ -25,8 +25,7 @@
|
|
|
25
25
|
transition: 0.25s;
|
|
26
26
|
z-index: 0;
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
-
|
|
29
|
-
.px-button.px-button {
|
|
28
|
+
outline-offset: var(--px-bit);
|
|
30
29
|
font-size: 14px;
|
|
31
30
|
}
|
|
32
31
|
.px-button.px-button__small.px-button__inner {
|
|
@@ -101,7 +100,6 @@
|
|
|
101
100
|
}
|
|
102
101
|
.px-button.px-button__primary:focus-visible {
|
|
103
102
|
outline-color: var(--px-primary-6);
|
|
104
|
-
outline-offset: var(--px-bit);
|
|
105
103
|
}
|
|
106
104
|
.px-button.px-button__primary.px-button__plain {
|
|
107
105
|
--text-color: var(--px-primary-6);
|
|
@@ -151,7 +149,6 @@
|
|
|
151
149
|
}
|
|
152
150
|
.px-button.px-button__sakura:focus-visible {
|
|
153
151
|
outline-color: var(--px-sakura-6);
|
|
154
|
-
outline-offset: var(--px-bit);
|
|
155
152
|
}
|
|
156
153
|
.px-button.px-button__sakura.px-button__plain {
|
|
157
154
|
--text-color: var(--px-sakura-6);
|
|
@@ -201,7 +198,6 @@
|
|
|
201
198
|
}
|
|
202
199
|
.px-button.px-button__success:focus-visible {
|
|
203
200
|
outline-color: var(--px-success-6);
|
|
204
|
-
outline-offset: var(--px-bit);
|
|
205
201
|
}
|
|
206
202
|
.px-button.px-button__success.px-button__plain {
|
|
207
203
|
--text-color: var(--px-success-6);
|
|
@@ -251,7 +247,6 @@
|
|
|
251
247
|
}
|
|
252
248
|
.px-button.px-button__warning:focus-visible {
|
|
253
249
|
outline-color: var(--px-warning-6);
|
|
254
|
-
outline-offset: var(--px-bit);
|
|
255
250
|
}
|
|
256
251
|
.px-button.px-button__warning.px-button__plain {
|
|
257
252
|
--text-color: var(--px-warning-6);
|
|
@@ -301,7 +296,6 @@
|
|
|
301
296
|
}
|
|
302
297
|
.px-button.px-button__danger:focus-visible {
|
|
303
298
|
outline-color: var(--px-danger-6);
|
|
304
|
-
outline-offset: var(--px-bit);
|
|
305
299
|
}
|
|
306
300
|
.px-button.px-button__danger.px-button__plain {
|
|
307
301
|
--text-color: var(--px-danger-6);
|
|
@@ -354,7 +348,6 @@
|
|
|
354
348
|
}
|
|
355
349
|
.px-button.px-button__info:focus-visible {
|
|
356
350
|
outline-color: var(--px-neutral-10);
|
|
357
|
-
outline-offset: var(--px-bit);
|
|
358
351
|
}
|
|
359
352
|
.px-button.px-button__info.px-button__disabled {
|
|
360
353
|
--text-color: var(--px-neutral-7);
|
package/es/button/index.d.ts
CHANGED
|
@@ -5,14 +5,15 @@ type __VLS_Slots = {} & {
|
|
|
5
5
|
} & {
|
|
6
6
|
default?: (props: typeof __VLS_8) => any;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
loading: boolean;
|
|
11
11
|
block: boolean;
|
|
12
12
|
nativeType: "button" | "submit" | "reset";
|
|
13
13
|
autofocus: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
-
declare const
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
16
17
|
export default _default;
|
|
17
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
18
19
|
new (): {
|
|
@@ -3,11 +3,12 @@ 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<ButtonGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
|
7
7
|
disabled: boolean;
|
|
8
8
|
shape: "rect" | "round" | "default";
|
|
9
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
11
12
|
export default _default;
|
|
12
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
13
14
|
new (): {
|
package/es/checkbox/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ declare var __VLS_6: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_6) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<CheckboxProps, {}, {}, {}, {}, 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;
|
|
@@ -22,7 +22,8 @@ declare const __VLS_component: import("vue").DefineComponent<CheckboxProps, {},
|
|
|
22
22
|
defaultValue: boolean | null;
|
|
23
23
|
indeterminate: 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 (): {
|
|
@@ -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<CheckboxGroupProps, {}, {}, {}, {}, 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<CheckboxGroupProps> & Readonly<{
|
|
@@ -14,7 +14,8 @@ declare const __VLS_component: import("vue").DefineComponent<CheckboxGroupProps,
|
|
|
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/col/index.d.ts
CHANGED
|
@@ -3,11 +3,12 @@ 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<ColProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ColProps> & Readonly<{}>, {
|
|
7
7
|
span: number | import("..").ValueWithDeviceWidth<number>;
|
|
8
8
|
offset: number | import("..").ValueWithDeviceWidth<number>;
|
|
9
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
11
12
|
export default _default;
|
|
12
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
13
14
|
new (): {
|
package/es/container/index.d.ts
CHANGED
|
@@ -3,8 +3,9 @@ declare var __VLS_1: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
7
|
-
declare const
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ContainerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContainerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
8
9
|
export default _default;
|
|
9
10
|
type __VLS_WithSlots<T, S> = T & {
|
|
10
11
|
new (): {
|
|
@@ -2,17 +2,17 @@ import type { DialogExpose, DialogProps } from './type';
|
|
|
2
2
|
type __VLS_Props = DialogProps & {
|
|
3
3
|
onBeforeOk?: () => Promise<boolean | void> | boolean | void;
|
|
4
4
|
};
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_12: {}, __VLS_15: {}, __VLS_18: {}, __VLS_21: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
title?: (props: typeof
|
|
7
|
+
title?: (props: typeof __VLS_12) => any;
|
|
8
8
|
} & {
|
|
9
|
-
icon?: (props: typeof
|
|
9
|
+
icon?: (props: typeof __VLS_15) => any;
|
|
10
10
|
} & {
|
|
11
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_18) => any;
|
|
12
12
|
} & {
|
|
13
|
-
footer?: (props: typeof
|
|
13
|
+
footer?: (props: typeof __VLS_21) => any;
|
|
14
14
|
};
|
|
15
|
-
declare const
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, DialogExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
16
|
cancel: (event: MouseEvent | KeyboardEvent) => any;
|
|
17
17
|
close: () => any;
|
|
18
18
|
open: () => any;
|
|
@@ -38,12 +38,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, Dialog
|
|
|
38
38
|
visible: boolean | null;
|
|
39
39
|
defaultVisible: boolean | null;
|
|
40
40
|
destroyOnHide: boolean;
|
|
41
|
-
maskClosable: boolean;
|
|
42
41
|
escToClose: boolean;
|
|
42
|
+
maskClosable: boolean;
|
|
43
43
|
showCancel: boolean;
|
|
44
44
|
showFooter: boolean;
|
|
45
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
-
declare const
|
|
46
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
47
48
|
export default _default;
|
|
48
49
|
type __VLS_WithSlots<T, S> = T & {
|
|
49
50
|
new (): {
|
package/es/dialog/dialog.d.ts
CHANGED
|
@@ -2,17 +2,17 @@ import type { DialogProps } from './type';
|
|
|
2
2
|
type __VLS_Props = Omit<DialogProps, 'defaultVisible' | 'root'> & {
|
|
3
3
|
onBeforeOk?: () => Promise<boolean | void> | boolean | void;
|
|
4
4
|
};
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_27: {}, __VLS_29: {}, __VLS_36: {}, __VLS_38: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
icon?: (props: typeof
|
|
7
|
+
icon?: (props: typeof __VLS_27) => any;
|
|
8
8
|
} & {
|
|
9
|
-
title?: (props: typeof
|
|
9
|
+
title?: (props: typeof __VLS_29) => any;
|
|
10
10
|
} & {
|
|
11
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_36) => any;
|
|
12
12
|
} & {
|
|
13
|
-
footer?: (props: typeof
|
|
13
|
+
footer?: (props: typeof __VLS_38) => any;
|
|
14
14
|
};
|
|
15
|
-
declare const
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
16
|
cancel: (event: MouseEvent | KeyboardEvent) => any;
|
|
17
17
|
close: () => any;
|
|
18
18
|
open: () => any;
|
|
@@ -37,12 +37,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
37
37
|
closable: boolean;
|
|
38
38
|
visible: boolean | null;
|
|
39
39
|
destroyOnHide: boolean;
|
|
40
|
-
maskClosable: boolean;
|
|
41
40
|
escToClose: boolean;
|
|
41
|
+
maskClosable: boolean;
|
|
42
42
|
showCancel: boolean;
|
|
43
43
|
showFooter: boolean;
|
|
44
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
-
declare const
|
|
45
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
46
47
|
export default _default;
|
|
47
48
|
type __VLS_WithSlots<T, S> = T & {
|
|
48
49
|
new (): {
|