@creatorsn/vfluent3 0.2.17 → 0.2.20
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/types/packages/affix/index.d.ts +44 -0
- package/dist/types/packages/affix/source/index.vue.d.ts +43 -0
- package/dist/types/packages/affix/style/index.d.ts +3 -0
- package/dist/types/packages/animated-icon/index.d.ts +325 -191
- package/dist/types/packages/animated-icon/source/index.vue.d.ts +325 -192
- package/dist/types/packages/badge/index.d.ts +76 -188
- package/dist/types/packages/badge/source/index.vue.d.ts +76 -188
- package/dist/types/packages/breadcrumb/index.d.ts +95 -293
- package/dist/types/packages/breadcrumb/source/index.vue.d.ts +95 -293
- package/dist/types/packages/button/index.d.ts +79 -289
- package/dist/types/packages/button/source/index.vue.d.ts +79 -289
- package/dist/types/packages/calendar-date-picker/index.d.ts +108 -1
- package/dist/types/packages/calendar-date-picker/source/index.vue.d.ts +108 -1
- package/dist/types/packages/calendar-view/index.d.ts +122 -175
- package/dist/types/packages/calendar-view/source/index.vue.d.ts +122 -175
- package/dist/types/packages/calendar-view/source/sub/dateBox.vue.d.ts +1 -288
- package/dist/types/packages/calendar-view/source/sub/monthBox.vue.d.ts +1 -239
- package/dist/types/packages/calendar-view/source/sub/yearBox.vue.d.ts +1 -179
- package/dist/types/packages/callout/index.d.ts +13 -13
- package/dist/types/packages/callout/source/index.vue.d.ts +21 -21
- package/dist/types/packages/check-box/index.d.ts +67 -200
- package/dist/types/packages/check-box/source/index.vue.d.ts +67 -200
- package/dist/types/packages/collapse/index.d.ts +77 -276
- package/dist/types/packages/collapse/source/index.vue.d.ts +77 -276
- package/dist/types/packages/color-picker/index.d.ts +7 -7
- package/dist/types/packages/color-picker/source/index.d.ts +3 -3
- package/dist/types/packages/color-picker/source/index.vue.d.ts +7 -7
- package/dist/types/packages/combobox/index.d.ts +106 -525
- package/dist/types/packages/combobox/source/index.vue.d.ts +106 -525
- package/dist/types/packages/command-bar/index.d.ts +97 -219
- package/dist/types/packages/command-bar/source/index.vue.d.ts +97 -219
- package/dist/types/packages/date-picker/index.d.ts +22 -22
- package/dist/types/packages/date-picker/source/index.d.ts +56 -56
- package/dist/types/packages/date-picker/source/index.vue.d.ts +22 -22
- package/dist/types/packages/details-list/index.d.ts +275 -689
- package/dist/types/packages/details-list/source/index.vue.d.ts +275 -689
- package/dist/types/packages/details-list/source/sub/selector.vue.d.ts +1 -117
- package/dist/types/packages/details-list/source/sub/spliter.vue.d.ts +1 -121
- package/dist/types/packages/drawer/index.d.ts +103 -197
- package/dist/types/packages/drawer/source/index.vue.d.ts +103 -197
- package/dist/types/packages/drop-down/index.d.ts +169 -456
- package/dist/types/packages/drop-down/source/index.vue.d.ts +169 -456
- package/dist/types/packages/drop-down/source/input/input.vue.d.ts +1 -305
- package/dist/types/packages/drop-down/source/list/listContainer.vue.d.ts +1 -370
- package/dist/types/packages/expander/index.d.ts +80 -270
- package/dist/types/packages/expander/source/index.vue.d.ts +80 -270
- package/dist/types/packages/flip-view/index.d.ts +186 -252
- package/dist/types/packages/flip-view/source/index.vue.d.ts +186 -252
- package/dist/types/packages/icon-element/index.d.ts +59 -164
- package/dist/types/packages/icon-element/source/index.vue.d.ts +59 -164
- package/dist/types/packages/image/index.d.ts +60 -105
- package/dist/types/packages/image/source/index.vue.d.ts +60 -105
- package/dist/types/packages/img/index.d.ts +47 -145
- package/dist/types/packages/img/source/index.vue.d.ts +47 -145
- package/dist/types/packages/img-box/index.d.ts +95 -151
- package/dist/types/packages/img-box/source/index.vue.d.ts +95 -151
- package/dist/types/packages/index.d.ts +5 -0
- package/dist/types/packages/infinite-scroll-view/index.d.ts +75 -176
- package/dist/types/packages/infinite-scroll-view/source/index.vue.d.ts +75 -176
- package/dist/types/packages/info-box/index.d.ts +145 -228
- package/dist/types/packages/info-box/source/index.vue.d.ts +145 -228
- package/dist/types/packages/list-view/index.d.ts +209 -1
- package/dist/types/packages/list-view/source/index.vue.d.ts +209 -1
- package/dist/types/packages/menu-flyout/index.d.ts +128 -1
- package/dist/types/packages/menu-flyout/source/index.vue.d.ts +128 -1
- package/dist/types/packages/message-bar/index.d.ts +128 -1
- package/dist/types/packages/message-bar/source/index.vue.d.ts +128 -1
- package/dist/types/packages/message-bar/source/plugin.d.ts +1 -1
- package/dist/types/packages/navigation-panel/index.d.ts +150 -1
- package/dist/types/packages/navigation-panel/source/index.vue.d.ts +150 -1
- package/dist/types/packages/navigation-view/index.d.ts +87 -1
- package/dist/types/packages/navigation-view/source/index.vue.d.ts +87 -1
- package/dist/types/packages/pagination/index.d.ts +63 -1
- package/dist/types/packages/pagination/source/index.vue.d.ts +63 -1
- package/dist/types/packages/panel/index.d.ts +121 -1
- package/dist/types/packages/panel/source/index.vue.d.ts +121 -1
- package/dist/types/packages/persona/index.d.ts +186 -1
- package/dist/types/packages/persona/source/index.vue.d.ts +186 -1
- package/dist/types/packages/pivot/index.d.ts +158 -1
- package/dist/types/packages/pivot/source/index.vue.d.ts +158 -1
- package/dist/types/packages/progress-bar/index.d.ts +63 -1
- package/dist/types/packages/progress-bar/source/index.vue.d.ts +63 -1
- package/dist/types/packages/progress-ring/index.d.ts +99 -1
- package/dist/types/packages/progress-ring/source/index.vue.d.ts +99 -1
- package/dist/types/packages/radio/index.d.ts +47 -60
- package/dist/types/packages/radio/source/index.vue.d.ts +47 -60
- package/dist/types/packages/rating-control/index.d.ts +105 -1
- package/dist/types/packages/rating-control/source/index.vue.d.ts +105 -1
- package/dist/types/packages/reveal-container/index.d.ts +219 -1
- package/dist/types/packages/reveal-container/source/index.vue.d.ts +219 -1
- package/dist/types/packages/scroll-story/index.d.ts +80 -1
- package/dist/types/packages/scroll-story/source/index.vue.d.ts +80 -1
- package/dist/types/packages/search-box/index.d.ts +215 -1
- package/dist/types/packages/search-box/source/index.vue.d.ts +215 -1
- package/dist/types/packages/shimmer/index.d.ts +68 -1
- package/dist/types/packages/shimmer/source/index.vue.d.ts +68 -1
- package/dist/types/packages/slider/index.d.ts +205 -1
- package/dist/types/packages/slider/source/index.vue.d.ts +205 -1
- package/dist/types/packages/swipe-control/index.d.ts +137 -1
- package/dist/types/packages/swipe-control/source/index.vue.d.ts +137 -1
- package/dist/types/packages/tag/index.d.ts +104 -1
- package/dist/types/packages/tag/source/index.vue.d.ts +104 -1
- package/dist/types/packages/text-box/index.d.ts +174 -1
- package/dist/types/packages/text-box/source/index.vue.d.ts +174 -1
- package/dist/types/packages/text-field/index.d.ts +129 -1
- package/dist/types/packages/text-field/source/index.vue.d.ts +129 -1
- package/dist/types/packages/time-picker/index.d.ts +3 -1
- package/dist/types/packages/time-picker/source/index.vue.d.ts +3 -1
- package/dist/types/packages/toggle-switch/index.d.ts +117 -1
- package/dist/types/packages/toggle-switch/source/index.vue.d.ts +117 -1
- package/dist/types/packages/tree-view/index.d.ts +125 -1
- package/dist/types/packages/tree-view/source/index.vue.d.ts +125 -1
- package/dist/types/packages/verify-box/index.d.ts +108 -1
- package/dist/types/packages/verify-box/source/index.vue.d.ts +108 -1
- package/dist/types/packages/web-window/index.d.ts +131 -1
- package/dist/types/packages/web-window/source/index.vue.d.ts +131 -1
- package/dist/types/store/image/index.d.ts +3 -3
- package/dist/types/utils/common/revealEffect/direct.d.ts +1 -1
- package/dist/types/utils/common/revealEffect/masked.d.ts +1 -1
- package/dist/vfluent3.js +13799 -13454
- package/dist/vfluent3.umd.cjs +8 -8
- package/package.json +1 -1
- package/dist/types/packages/badge/source/index.d.ts +0 -50
- package/dist/types/packages/breadcrumb/source/index.d.ts +0 -81
- package/dist/types/packages/calendar-date-picker/source/index.d.ts +0 -20
- package/dist/types/packages/calendar-view/source/index.d.ts +0 -796
- package/dist/types/packages/calendar-view/source/sub/dateBox.d.ts +0 -192
- package/dist/types/packages/calendar-view/source/sub/monthBox.d.ts +0 -177
- package/dist/types/packages/calendar-view/source/sub/yearBox.d.ts +0 -161
- package/dist/types/packages/callout/source/index.d.ts +0 -1113
- package/dist/types/packages/check-box/source/index.d.ts +0 -51
- package/dist/types/packages/collapse/source/index.d.ts +0 -67
- package/dist/types/packages/combobox/source/index.d.ts +0 -110
- package/dist/types/packages/command-bar/source/index.d.ts +0 -96
- package/dist/types/packages/details-list/source/index.d.ts +0 -228
- package/dist/types/packages/details-list/source/sub/selector.d.ts +0 -30
- package/dist/types/packages/details-list/source/sub/spliter.d.ts +0 -34
- package/dist/types/packages/drawer/source/index.d.ts +0 -66
- package/dist/types/packages/drop-down/source/index.d.ts +0 -141
- package/dist/types/packages/drop-down/source/input/input.d.ts +0 -80
- package/dist/types/packages/drop-down/source/list/listContainer.d.ts +0 -101
- package/dist/types/packages/expander/source/index.d.ts +0 -66
- package/dist/types/packages/flip-view/source/index.d.ts +0 -122
- package/dist/types/packages/icon-element/source/index.d.ts +0 -49
- package/dist/types/packages/image/source/index.d.ts +0 -38
- package/dist/types/packages/img/source/index.d.ts +0 -38
- package/dist/types/packages/img-box/source/index.d.ts +0 -155
- package/dist/types/packages/infinite-scroll-view/source/index.d.ts +0 -52
- package/dist/types/packages/info-box/source/index.d.ts +0 -87
- package/dist/types/packages/list-view/source/index.d.ts +0 -20
- package/dist/types/packages/menu-flyout/source/index.d.ts +0 -20
- package/dist/types/packages/message-bar/source/index.d.ts +0 -20
- package/dist/types/packages/navigation-panel/source/index.d.ts +0 -20
- package/dist/types/packages/navigation-view/source/index.d.ts +0 -20
- package/dist/types/packages/pagination/source/index.d.ts +0 -20
- package/dist/types/packages/panel/source/index.d.ts +0 -20
- package/dist/types/packages/pivot/source/index.d.ts +0 -20
- package/dist/types/packages/progress-bar/source/index.d.ts +0 -20
- package/dist/types/packages/progress-ring/source/index.d.ts +0 -20
- package/dist/types/packages/radio/source/index.d.ts +0 -20
- package/dist/types/packages/rating-control/source/index.d.ts +0 -20
- package/dist/types/packages/reveal-container/source/index.d.ts +0 -20
- package/dist/types/packages/scroll-story/source/index.d.ts +0 -20
- package/dist/types/packages/search-box/source/index.d.ts +0 -20
- package/dist/types/packages/shimmer/source/index.d.ts +0 -20
- package/dist/types/packages/slider/source/index.d.ts +0 -20
- package/dist/types/packages/swipe-control/source/index.d.ts +0 -20
- package/dist/types/packages/tag/source/index.d.ts +0 -20
- package/dist/types/packages/text-box/source/index.d.ts +0 -20
- package/dist/types/packages/text-field/source/index.d.ts +0 -20
- package/dist/types/packages/time-picker/source/index.d.ts +0 -20
- package/dist/types/packages/toggle-switch/source/index.d.ts +0 -20
- package/dist/types/packages/tree-view/source/index.d.ts +0 -20
- package/dist/types/packages/verify-box/source/index.d.ts +0 -20
- package/dist/types/packages/web-window/source/index.d.ts +0 -20
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { EmitFn } from '@/types/components';
|
|
3
|
-
export declare const checkBoxProps: {
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
borderWidth: {
|
|
9
|
-
type: NumberConstructor[];
|
|
10
|
-
default: number;
|
|
11
|
-
};
|
|
12
|
-
borderColor: {
|
|
13
|
-
type: StringConstructor[];
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
background: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
foreground: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
boxSide: {
|
|
25
|
-
type: PropType<"start" | "end">;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
theme: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
disabled: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
lang: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
export type CheckBoxProps = ExtractPropTypes<typeof checkBoxProps>;
|
|
42
|
-
export declare const checkBoxEmits: {
|
|
43
|
-
"update:modelValue": (val: string | boolean) => boolean;
|
|
44
|
-
click: (val: string | boolean) => boolean;
|
|
45
|
-
};
|
|
46
|
-
export type CheckBoxEmits = typeof checkBoxEmits;
|
|
47
|
-
export declare const useCheckBox: (props: CheckBoxProps, emits: EmitFn<CheckBoxEmits>) => {
|
|
48
|
-
thisValue: import("vue").Ref<string | boolean>;
|
|
49
|
-
indeterminate: import("vue").ComputedRef<boolean>;
|
|
50
|
-
checked: (evt: Event) => number;
|
|
51
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { EmitFn } from '@/types/components';
|
|
3
|
-
export declare const collapseProps: {
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
icon: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
title: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
content: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
background: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
defaultHeight: {
|
|
25
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
26
|
-
default: number;
|
|
27
|
-
};
|
|
28
|
-
maxHeight: {
|
|
29
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
30
|
-
default: number;
|
|
31
|
-
};
|
|
32
|
-
disabledCollapse: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
visibleOverflow: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
theme: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
disabled: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
lang: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
export type CollapseProps = ExtractPropTypes<typeof collapseProps>;
|
|
54
|
-
export declare const collapseEmits: {
|
|
55
|
-
"update:modelValue": (val: boolean) => boolean;
|
|
56
|
-
"item-click": (val: boolean) => boolean;
|
|
57
|
-
"left-icon-click": (val: MouseEvent) => boolean;
|
|
58
|
-
"description-click": (val: MouseEvent) => boolean;
|
|
59
|
-
"icon-click": (val: MouseEvent) => boolean;
|
|
60
|
-
};
|
|
61
|
-
export type CollapseEmits = typeof collapseEmits;
|
|
62
|
-
export declare const useCollapse: (props: CollapseProps, emits: EmitFn<CollapseEmits>) => {
|
|
63
|
-
thisValue: import("vue").Ref<boolean>;
|
|
64
|
-
hover: import("vue").Ref<boolean>;
|
|
65
|
-
hoverBackground: import("vue").ComputedRef<string>;
|
|
66
|
-
itemClick: () => void;
|
|
67
|
-
};
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { EmitFn } from '@/types/components';
|
|
3
|
-
type OptionType = 'divider' | 'default' | 'header';
|
|
4
|
-
type OptionItem = {
|
|
5
|
-
key: string;
|
|
6
|
-
text: string | (() => string);
|
|
7
|
-
type?: OptionType | (() => OptionType);
|
|
8
|
-
disabled: boolean | (() => boolean);
|
|
9
|
-
};
|
|
10
|
-
export declare const comboboxProps: {
|
|
11
|
-
modelValue: {
|
|
12
|
-
type: PropType<OptionItem>;
|
|
13
|
-
default: () => {};
|
|
14
|
-
};
|
|
15
|
-
options: {
|
|
16
|
-
type: PropType<OptionItem[]>;
|
|
17
|
-
default: () => any[];
|
|
18
|
-
};
|
|
19
|
-
borderWidth: {
|
|
20
|
-
type: NumberConstructor;
|
|
21
|
-
default: number;
|
|
22
|
-
};
|
|
23
|
-
placeholder: {
|
|
24
|
-
type: StringConstructor;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
borderRadius: {
|
|
28
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
background: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
choosenBackground: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
choosenSliderBackground: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
inputForeground: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
inputBackground: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
titleForeground: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
itemHeight: {
|
|
56
|
-
type: NumberConstructor;
|
|
57
|
-
default: number;
|
|
58
|
-
};
|
|
59
|
-
dropDownIcon: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
dropDownIconForeground: {
|
|
64
|
-
type: StringConstructor;
|
|
65
|
-
default: string;
|
|
66
|
-
};
|
|
67
|
-
revealBorderColor: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
revealBackgroundColor: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
theme: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
disabled: {
|
|
80
|
-
type: BooleanConstructor;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
lang: {
|
|
84
|
-
type: StringConstructor;
|
|
85
|
-
default: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
export type ComboboxProps = ExtractPropTypes<typeof comboboxProps>;
|
|
89
|
-
export declare const comboboxEmits: {
|
|
90
|
-
"update:modelValue": (val: OptionItem) => boolean;
|
|
91
|
-
"choose-item": (val: OptionItem) => boolean;
|
|
92
|
-
};
|
|
93
|
-
export type ComboboxEmits = typeof comboboxEmits;
|
|
94
|
-
export declare const useCombobox: (props: ComboboxProps, emits: EmitFn<ComboboxEmits>) => {
|
|
95
|
-
thisValue: import("vue").Ref<{
|
|
96
|
-
key: string;
|
|
97
|
-
text: string | (() => string);
|
|
98
|
-
type?: OptionType | (() => OptionType);
|
|
99
|
-
disabled: boolean | (() => boolean);
|
|
100
|
-
}>;
|
|
101
|
-
borderLightColor: import("vue").ComputedRef<true | "rgba(121, 119, 117, 0.6)" | "rgba(255, 255, 255, 0.6)">;
|
|
102
|
-
backgroundLightColor: import("vue").ComputedRef<true | "rgba(121, 119, 117, 0.3)" | "rgba(255, 255, 255, 0.3)">;
|
|
103
|
-
outsideClickInit: () => void;
|
|
104
|
-
outsideClickDestroy: () => void;
|
|
105
|
-
choose: (evt: Event, item: OptionItem) => number;
|
|
106
|
-
root: import("vue").Ref<HTMLElement>;
|
|
107
|
-
coItems: import("vue").Ref<HTMLElement>;
|
|
108
|
-
status: import("vue").Ref<boolean>;
|
|
109
|
-
};
|
|
110
|
-
export {};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { EmitFn } from '@/types/components';
|
|
3
|
-
import { callFunction } from '@/utils/common';
|
|
4
|
-
export type OptionType = 'divider' | 'normal' | 'more';
|
|
5
|
-
export type OptionItem = {
|
|
6
|
-
name?: string | (() => string);
|
|
7
|
-
icon?: string | (() => string);
|
|
8
|
-
iconColor?: string | (() => string);
|
|
9
|
-
type?: OptionType | (() => OptionType);
|
|
10
|
-
disabled?: boolean | (() => boolean);
|
|
11
|
-
func?: ((...args: any[]) => void);
|
|
12
|
-
show?: boolean | (() => boolean);
|
|
13
|
-
secondary?: Array<OptionItem>;
|
|
14
|
-
choosen?: boolean;
|
|
15
|
-
background?: string;
|
|
16
|
-
foreground?: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const commandBarProps: {
|
|
19
|
-
modelValue: {
|
|
20
|
-
type: ObjectConstructor;
|
|
21
|
-
default: () => {};
|
|
22
|
-
};
|
|
23
|
-
options: {
|
|
24
|
-
type: PropType<OptionItem[]>;
|
|
25
|
-
default: () => any[];
|
|
26
|
-
};
|
|
27
|
-
toward: {
|
|
28
|
-
type: PropType<"down" | "up">;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
background: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
compact: {
|
|
36
|
-
type: BooleanConstructor;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
revealBorderColor: {
|
|
40
|
-
type: BooleanConstructor;
|
|
41
|
-
default: boolean;
|
|
42
|
-
};
|
|
43
|
-
revealBackgroundColor: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
theme: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
disabled: {
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
lang: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
export type CommandBarProps = ExtractPropTypes<typeof commandBarProps>;
|
|
61
|
-
export declare const commandBarEmits: {
|
|
62
|
-
"update:modelValue": (val: OptionItem) => boolean;
|
|
63
|
-
"item-click": (val: OptionItem) => boolean;
|
|
64
|
-
};
|
|
65
|
-
export type CommandBarEmits = typeof commandBarEmits;
|
|
66
|
-
export declare const useCommandBar: (props: CommandBarProps, emits: EmitFn<CommandBarEmits>) => {
|
|
67
|
-
thisValue: import("vue").Ref<Record<string, any>>;
|
|
68
|
-
thisOptions: import("vue").Ref<{
|
|
69
|
-
name?: string | (() => string);
|
|
70
|
-
icon?: string | (() => string);
|
|
71
|
-
iconColor?: string | (() => string);
|
|
72
|
-
type?: OptionType | (() => OptionType);
|
|
73
|
-
disabled?: boolean | (() => boolean);
|
|
74
|
-
func?: (...args: any[]) => void;
|
|
75
|
-
show?: boolean | (() => boolean);
|
|
76
|
-
secondary?: any[];
|
|
77
|
-
choosen?: boolean;
|
|
78
|
-
background?: string;
|
|
79
|
-
foreground?: string;
|
|
80
|
-
}[]>;
|
|
81
|
-
currentLeft: import("vue").Ref<number>;
|
|
82
|
-
itemClick: (event: Event, item: OptionItem) => number;
|
|
83
|
-
optionsInit: () => void;
|
|
84
|
-
outsideClickInit: () => void;
|
|
85
|
-
outsideClickDestroy: () => void;
|
|
86
|
-
collapseAll: () => void;
|
|
87
|
-
theme: import("vue").ComputedRef<string>;
|
|
88
|
-
showDropDown: import("vue").ComputedRef<boolean>;
|
|
89
|
-
backgroundLightColor: import("vue").ComputedRef<true | "rgba(121, 119, 117, 0.05)" | "rgba(255, 255, 255, 0.05)">;
|
|
90
|
-
borderLightColor: import("vue").ComputedRef<true | "rgba(121, 119, 117, 0.1)" | "rgba(255, 255, 255, 0.1)">;
|
|
91
|
-
root: import("vue").Ref<HTMLElement>;
|
|
92
|
-
chooseItem: (event: {
|
|
93
|
-
item: OptionItem;
|
|
94
|
-
}) => void;
|
|
95
|
-
callFunction: typeof callFunction;
|
|
96
|
-
};
|
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { EmitFn } from '@/types/components';
|
|
5
|
-
type DetailsListItem = Record<string, any>;
|
|
6
|
-
type HeadItem = {
|
|
7
|
-
content?: string;
|
|
8
|
-
minWidth?: string | number;
|
|
9
|
-
width?: string | number;
|
|
10
|
-
sortName?: string;
|
|
11
|
-
customSort?: (a: DetailsListItem, b: DetailsListItem) => number;
|
|
12
|
-
visible?: boolean | (() => boolean);
|
|
13
|
-
disX?: number;
|
|
14
|
-
show?: boolean;
|
|
15
|
-
};
|
|
16
|
-
type GroupItem = {
|
|
17
|
-
key: string;
|
|
18
|
-
value: string;
|
|
19
|
-
name?: string;
|
|
20
|
-
expand?: boolean;
|
|
21
|
-
data?: Array<DetailsListItem>;
|
|
22
|
-
};
|
|
23
|
-
type FilterItem = {
|
|
24
|
-
key: string;
|
|
25
|
-
value: string;
|
|
26
|
-
} | string;
|
|
27
|
-
export declare const detailsListProps: {
|
|
28
|
-
modelValue: {
|
|
29
|
-
type: PropType<DetailsListItem[]>;
|
|
30
|
-
default: () => any[];
|
|
31
|
-
};
|
|
32
|
-
head: {
|
|
33
|
-
type: PropType<HeadItem[]>;
|
|
34
|
-
default: () => any[];
|
|
35
|
-
};
|
|
36
|
-
group: {
|
|
37
|
-
type: PropType<GroupItem[]>;
|
|
38
|
-
default: () => any[];
|
|
39
|
-
};
|
|
40
|
-
filter: {
|
|
41
|
-
type: PropType<FilterItem>;
|
|
42
|
-
default: () => {
|
|
43
|
-
key: string;
|
|
44
|
-
value: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
showGroup: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
autoHeight: {
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
foreground: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
headBackground: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
compact: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
default: boolean;
|
|
66
|
-
};
|
|
67
|
-
multiSelection: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
allowDrag: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
rowCss: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
rightMenuWidth: {
|
|
80
|
-
type: NumberConstructor;
|
|
81
|
-
default: number;
|
|
82
|
-
};
|
|
83
|
-
theme: {
|
|
84
|
-
type: StringConstructor;
|
|
85
|
-
default: string;
|
|
86
|
-
};
|
|
87
|
-
disabled: {
|
|
88
|
-
type: BooleanConstructor;
|
|
89
|
-
default: boolean;
|
|
90
|
-
};
|
|
91
|
-
lang: {
|
|
92
|
-
type: StringConstructor;
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
export type DetailsListProps = ExtractPropTypes<typeof detailsListProps>;
|
|
97
|
-
export declare const detailsListEmits: {
|
|
98
|
-
"update:modelValue": (val: DetailsListItem) => boolean;
|
|
99
|
-
"change-value": (val: DetailsListItem) => boolean;
|
|
100
|
-
"choose-items": (val: Array<DetailsListItem>) => boolean;
|
|
101
|
-
lazyload: (val: DetailsListItem) => boolean;
|
|
102
|
-
rightclick: (val: DetailsListItem) => boolean;
|
|
103
|
-
"drop-items": (val: {
|
|
104
|
-
transfer: DetailsListItem[] | DetailsListItem;
|
|
105
|
-
value: DetailsListItem;
|
|
106
|
-
}) => boolean;
|
|
107
|
-
};
|
|
108
|
-
export type DetailsListEmits = typeof detailsListEmits;
|
|
109
|
-
export declare const useDetailsList: (props: DetailsListProps, emits: EmitFn<DetailsListEmits>) => {
|
|
110
|
-
thisValue: import("vue").Ref<DetailsListItem[]>;
|
|
111
|
-
listWidth: import("vue").Ref<number>;
|
|
112
|
-
thisHead: import("vue").Ref<{
|
|
113
|
-
content?: string;
|
|
114
|
-
minWidth?: string | number;
|
|
115
|
-
width?: string | number;
|
|
116
|
-
sortName?: string;
|
|
117
|
-
customSort?: (a: DetailsListItem, b: DetailsListItem) => number;
|
|
118
|
-
visible?: boolean | (() => boolean);
|
|
119
|
-
disX?: number;
|
|
120
|
-
show?: boolean;
|
|
121
|
-
}[]>;
|
|
122
|
-
thisGroup: import("vue").Ref<{
|
|
123
|
-
key: string;
|
|
124
|
-
value: string;
|
|
125
|
-
name?: string;
|
|
126
|
-
expand?: boolean;
|
|
127
|
-
data?: Array<DetailsListItem>;
|
|
128
|
-
}[]>;
|
|
129
|
-
posX: import("vue").Ref<number>;
|
|
130
|
-
posY: import("vue").Ref<number>;
|
|
131
|
-
rightMenuHeight: import("vue").Ref<number>;
|
|
132
|
-
windowResize: import("vue").Ref<{
|
|
133
|
-
trigger: boolean;
|
|
134
|
-
width: number;
|
|
135
|
-
}>;
|
|
136
|
-
sort: import("vue").Ref<{
|
|
137
|
-
name: string;
|
|
138
|
-
desc: boolean;
|
|
139
|
-
}>;
|
|
140
|
-
dragTransfer: import("vue").Ref<DetailsListItem | DetailsListItem[]>;
|
|
141
|
-
show: import("vue").Ref<{
|
|
142
|
-
rightMenu: boolean;
|
|
143
|
-
}>;
|
|
144
|
-
styles: import("vue").Ref<{
|
|
145
|
-
listHead: {
|
|
146
|
-
background: string;
|
|
147
|
-
};
|
|
148
|
-
}>;
|
|
149
|
-
timer: import("vue").Ref<{
|
|
150
|
-
width?: number | {
|
|
151
|
-
hasRef: () => boolean;
|
|
152
|
-
refresh: () => NodeJS.Timeout;
|
|
153
|
-
[Symbol.toPrimitive]: () => number;
|
|
154
|
-
[Symbol.dispose]: () => void;
|
|
155
|
-
ref: () => NodeJS.Timeout;
|
|
156
|
-
unref: () => NodeJS.Timeout;
|
|
157
|
-
};
|
|
158
|
-
resize?: number | {
|
|
159
|
-
hasRef: () => boolean;
|
|
160
|
-
refresh: () => NodeJS.Timeout;
|
|
161
|
-
[Symbol.toPrimitive]: () => number;
|
|
162
|
-
[Symbol.dispose]: () => void;
|
|
163
|
-
ref: () => NodeJS.Timeout;
|
|
164
|
-
unref: () => NodeJS.Timeout;
|
|
165
|
-
};
|
|
166
|
-
}>;
|
|
167
|
-
rightMenu: import("vue").Ref<HTMLElement>;
|
|
168
|
-
colWidth: import("vue").ComputedRef<any[]>;
|
|
169
|
-
currentChoosen: import("vue").ComputedRef<any[]>;
|
|
170
|
-
currentChoosenAll: import("vue").ComputedRef<boolean>;
|
|
171
|
-
currentChoosenNum: import("vue").ComputedRef<number>;
|
|
172
|
-
currentExpandAll: import("vue").ComputedRef<boolean>;
|
|
173
|
-
theme: import("vue").ComputedRef<string>;
|
|
174
|
-
borderLightColor: import("vue").ComputedRef<() => "rgba(121, 119, 117, 0.6)" | "rgba(255, 255, 255, 0.6)">;
|
|
175
|
-
backgroundLightColor: import("vue").ComputedRef<() => "rgba(121, 119, 117, 0.3)" | "rgba(255, 255, 255, 0.3)">;
|
|
176
|
-
uR: import("pinia").Store<"RevealCache", {
|
|
177
|
-
revealHandlerList: {
|
|
178
|
-
id: string;
|
|
179
|
-
moveHandler: Function;
|
|
180
|
-
leaveHandler: Function;
|
|
181
|
-
}[];
|
|
182
|
-
revealDirectJs: import("../../../utils/common/revealEffect").RevealDirect;
|
|
183
|
-
revealMaskedJs: import("../../../utils/common/revealEffect").RevealMasked;
|
|
184
|
-
}, {}, {
|
|
185
|
-
initRevealInstances(): void;
|
|
186
|
-
setRevealHandler(revealHandler: {
|
|
187
|
-
id: string;
|
|
188
|
-
moveHandler: Function;
|
|
189
|
-
leaveHandler: Function;
|
|
190
|
-
}): void;
|
|
191
|
-
removeRevealHandler(id: string): void;
|
|
192
|
-
}>;
|
|
193
|
-
FRTableHead: import("vue").Ref<any>;
|
|
194
|
-
root: import("vue").Ref<HTMLElement>;
|
|
195
|
-
listHead: import("vue").Ref<HTMLElement>;
|
|
196
|
-
FRInit: () => void;
|
|
197
|
-
stylesInit: () => void;
|
|
198
|
-
headInit: () => void;
|
|
199
|
-
valueInit: () => void;
|
|
200
|
-
groupInit: () => void;
|
|
201
|
-
getGroupDataInit: () => void;
|
|
202
|
-
listWidthRefreshInit: () => void;
|
|
203
|
-
watchWindowResizeInit: () => void;
|
|
204
|
-
l1: import("vue").Ref<HTMLElement>;
|
|
205
|
-
l2: import("vue").Ref<HTMLElement>;
|
|
206
|
-
lazyLoadInit: () => void;
|
|
207
|
-
rightMenuClearInit: () => void;
|
|
208
|
-
filterValue: () => number;
|
|
209
|
-
resizeDown: (event: MouseEvent, index: number) => void;
|
|
210
|
-
resizeMove: (event: MouseEvent, index: number) => void;
|
|
211
|
-
widthFormat: (index: number) => void;
|
|
212
|
-
itemChooseClick: (item: DetailsListItem) => void;
|
|
213
|
-
chooseCurrent: (item: DetailsListItem) => void;
|
|
214
|
-
chooseAll: () => void;
|
|
215
|
-
isGroupChooseAll: (group: GroupItem) => boolean;
|
|
216
|
-
chooseGroup: (group: GroupItem) => void;
|
|
217
|
-
expandGroup: (group: GroupItem) => void;
|
|
218
|
-
expandAll: () => void;
|
|
219
|
-
rightClick: (event: MouseEvent, item: DetailsListItem) => void;
|
|
220
|
-
sortClick: (item: HeadItem, reverse?: boolean) => number;
|
|
221
|
-
inteliSort: (key?: string, desc?: number | boolean) => void;
|
|
222
|
-
sortNum: (item1: string, item2: string) => 1 | -1;
|
|
223
|
-
sortName: (item1: string, item2: string) => number;
|
|
224
|
-
sortTime: (item1: string, item2: string) => 0 | 1 | -1;
|
|
225
|
-
drag: (event: DragEvent, item: DetailsListItem) => void;
|
|
226
|
-
drop: (item: DetailsListItem) => void;
|
|
227
|
-
};
|
|
228
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { EmitFn } from "@/types/components";
|
|
2
|
-
import { ExtractPropTypes } from "vue";
|
|
3
|
-
export declare const selectorProps: {
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
color: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
theme: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
disabled: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
lang: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export type SelectorProps = ExtractPropTypes<typeof selectorProps>;
|
|
26
|
-
export declare const selectorEmits: {};
|
|
27
|
-
export type SelectorEmits = typeof selectorEmits;
|
|
28
|
-
export declare const useSelector: (props: SelectorProps, emits: EmitFn<SelectorEmits>) => {
|
|
29
|
-
checked: import("vue").Ref<boolean>;
|
|
30
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { sliderProps } from "@/packages/slider/source";
|
|
2
|
-
import { EmitFn } from "@/types/components";
|
|
3
|
-
import { ExtractPropTypes } from "vue";
|
|
4
|
-
export declare const spliterProps: {
|
|
5
|
-
theme: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
disabled: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
lang: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export type SpliterProps = ExtractPropTypes<typeof sliderProps>;
|
|
19
|
-
export declare const spliterEmits: {
|
|
20
|
-
mousedown: (event: MouseEvent) => boolean;
|
|
21
|
-
mouseup: (event: MouseEvent) => boolean;
|
|
22
|
-
mousemove: (event: MouseEvent) => boolean;
|
|
23
|
-
touchstart: (event: TouchEvent) => boolean;
|
|
24
|
-
touchend: (event: TouchEvent) => boolean;
|
|
25
|
-
touchmove: (event: TouchEvent) => boolean;
|
|
26
|
-
};
|
|
27
|
-
export type SpliterEmits = typeof spliterEmits;
|
|
28
|
-
export declare const useSpliter: (props: SpliterProps, emits: EmitFn<SpliterEmits>) => {
|
|
29
|
-
init: () => void;
|
|
30
|
-
destroy: () => void;
|
|
31
|
-
moveable: import("vue").Ref<boolean>;
|
|
32
|
-
forward: (event: MouseEvent | TouchEvent) => void;
|
|
33
|
-
stop: (event?: MouseEvent | TouchEvent) => void;
|
|
34
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { EmitFn } from '@/types/components';
|
|
3
|
-
type PositionType = 'bottom' | 'left' | 'right' | 'top';
|
|
4
|
-
export declare const drawerProps: {
|
|
5
|
-
position: {
|
|
6
|
-
type: PropType<PositionType>;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
length: {
|
|
10
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
11
|
-
default: number;
|
|
12
|
-
};
|
|
13
|
-
background: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
};
|
|
16
|
-
modelValue: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: any;
|
|
19
|
-
};
|
|
20
|
-
zIndex: {
|
|
21
|
-
type: NumberConstructor;
|
|
22
|
-
default: number;
|
|
23
|
-
};
|
|
24
|
-
focusTrap: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
appendBody: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
theme: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
disabled: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
lang: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export type DrawerProps = ExtractPropTypes<typeof drawerProps>;
|
|
46
|
-
export declare const drawerEmits: {
|
|
47
|
-
"update:modelValue"(val: boolean): boolean;
|
|
48
|
-
};
|
|
49
|
-
export type DrawerEmits = typeof drawerEmits;
|
|
50
|
-
export declare const useDrawer: (props: DrawerProps, emits: EmitFn<DrawerEmits>) => {
|
|
51
|
-
drawer: import("vue").Ref<HTMLElement>;
|
|
52
|
-
style: import("vue").Ref<{
|
|
53
|
-
drawer: Record<string, any>;
|
|
54
|
-
}>;
|
|
55
|
-
close: () => void;
|
|
56
|
-
destroy: () => void;
|
|
57
|
-
init: () => void;
|
|
58
|
-
initShow: import("vue").Ref<boolean>;
|
|
59
|
-
setStyle: () => void;
|
|
60
|
-
lock: import("vue").Ref<boolean>;
|
|
61
|
-
show: import("vue").Ref<{
|
|
62
|
-
drawer: boolean;
|
|
63
|
-
}>;
|
|
64
|
-
computedVisible: import("vue").WritableComputedRef<boolean>;
|
|
65
|
-
};
|
|
66
|
-
export {};
|