@vtj/ui 0.4.2 → 0.4.4
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/cdn/index.js +1 -1
- package/cdn/style.css +1 -1
- package/lib/index.js +264 -1928
- package/lib/style.css +1 -1
- package/package.json +6 -6
- package/types/components/icon/{Icon.vue.d.ts → Icon.d.ts} +1 -1
- package/types/components/icon/index.d.ts +3 -166
- package/types/components/index.d.ts +4 -15
- package/types/components/menu/Menu.d.ts +99 -0
- package/types/components/menu/MenuItem.d.ts +17 -0
- package/types/components/menu/components.d.ts +2 -0
- package/types/components/menu/index.d.ts +3 -0
- package/types/components/menu/types.d.ts +12 -0
- package/types/components/shared.d.ts +13 -0
- package/types/components/simple-mask/SimpleMask.d.ts +41 -0
- package/types/components/simple-mask/index.d.ts +2 -0
- package/types/components/{page/Page.vue.d.ts → startup/Startup.d.ts} +11 -8
- package/types/components/startup/index.d.ts +2 -0
- package/types/hooks/index.d.ts +0 -1
- package/types/hooks/useIcon.d.ts +1 -1
- package/types/index.d.ts +1 -6
- package/types/list.d.ts +2 -21587
- package/types/utils/make-install.d.ts +3 -4
- package/types/components/block/Block.vue.d.ts +0 -143
- package/types/components/block/block.d.ts +0 -68
- package/types/components/block/index.d.ts +0 -319
- package/types/components/config/Config.d.ts +0 -26
- package/types/components/config/index.d.ts +0 -19
- package/types/components/config/props.d.ts +0 -6
- package/types/components/container/Container.vue.d.ts +0 -52
- package/types/components/container/container.d.ts +0 -46
- package/types/components/container/index.d.ts +0 -159
- package/types/components/cron/Cron.vue.d.ts +0 -9
- package/types/components/cron/cron.d.ts +0 -23
- package/types/components/cron/index.d.ts +0 -11
- package/types/components/dialog/Dialog.vue.d.ts +0 -289
- package/types/components/dialog/create.d.ts +0 -6
- package/types/components/dialog/dialog.d.ts +0 -155
- package/types/components/dialog/hooks.d.ts +0 -927
- package/types/components/dialog/index.d.ts +0 -638
- package/types/components/element/Element.d.ts +0 -25
- package/types/components/element/index.d.ts +0 -21
- package/types/components/field/Field.vue.d.ts +0 -802
- package/types/components/field/field.d.ts +0 -230
- package/types/components/field/hooks.d.ts +0 -23
- package/types/components/field/index.d.ts +0 -2034
- package/types/components/field/setters/InputSetter.d.ts +0 -45
- package/types/components/field/setters/SelectSetter.d.ts +0 -45
- package/types/components/field/setters/factory.d.ts +0 -54
- package/types/components/field/setters/index.d.ts +0 -93
- package/types/components/form/Form.vue.d.ts +0 -5352
- package/types/components/form/form.d.ts +0 -384
- package/types/components/form/hooks.d.ts +0 -1906
- package/types/components/form/index.d.ts +0 -15373
- package/types/components/help/Help.vue.d.ts +0 -315
- package/types/components/help/help.d.ts +0 -172
- package/types/components/help/hooks.d.ts +0 -18
- package/types/components/help/index.d.ts +0 -316
- package/types/components/page/index.d.ts +0 -118
- package/types/components/page/page.d.ts +0 -9
- package/types/components/panel/Panel.vue.d.ts +0 -573
- package/types/components/panel/index.d.ts +0 -1207
- package/types/components/panel/panel.d.ts +0 -227
- package/types/components/text/Text.vue.d.ts +0 -52
- package/types/components/text/index.d.ts +0 -165
- package/types/components/text/text.d.ts +0 -37
- package/types/components/tool/Tool.vue.d.ts +0 -158
- package/types/components/tool/Trigger.d.ts +0 -29
- package/types/components/tool/hooks.d.ts +0 -250
- package/types/components/tool/index.d.ts +0 -371
- package/types/components/tool/tool.d.ts +0 -91
- package/types/components/toolbar/Toolbar.vue.d.ts +0 -44
- package/types/components/toolbar/hooks.d.ts +0 -14
- package/types/components/toolbar/index.d.ts +0 -161
- package/types/components/toolbar/toolbar.d.ts +0 -45
- package/types/components/wrapper/Wrapper.vue.d.ts +0 -268
- package/types/components/wrapper/index.d.ts +0 -601
- package/types/components/wrapper/wrapper.d.ts +0 -145
- package/types/hooks/useConfig.d.ts +0 -5
- /package/types/components/icon/{icon.d.ts → types.d.ts} +0 -0
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { BlockDirection, BlockWrap, BlockOverflow, Emits } from '../..';
|
|
3
|
-
/**
|
|
4
|
-
* 定义组件属性参数
|
|
5
|
-
*/
|
|
6
|
-
export declare const wrapperProps: {
|
|
7
|
-
position: {
|
|
8
|
-
type: PropType<"bottom" | "top" | "none">;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
fixed: {
|
|
12
|
-
type: PropType<Partial<ExtractPropTypes<{
|
|
13
|
-
flex: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
width: {
|
|
18
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
19
|
-
};
|
|
20
|
-
height: {
|
|
21
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
22
|
-
};
|
|
23
|
-
direction: {
|
|
24
|
-
type: PropType<BlockDirection>;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
grow: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
shrink: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
wrap: {
|
|
36
|
-
type: PropType<BlockWrap>;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
justify: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
align: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
border: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
};
|
|
50
|
-
radius: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
};
|
|
53
|
-
background: {
|
|
54
|
-
type: BooleanConstructor;
|
|
55
|
-
};
|
|
56
|
-
split: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
};
|
|
59
|
-
fit: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
};
|
|
62
|
-
overflow: {
|
|
63
|
-
type: PropType<BlockOverflow>;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
padding: {
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
default: boolean;
|
|
69
|
-
};
|
|
70
|
-
}>>>;
|
|
71
|
-
};
|
|
72
|
-
body: {
|
|
73
|
-
type: PropType<Partial<ExtractPropTypes<{
|
|
74
|
-
flex: {
|
|
75
|
-
type: BooleanConstructor;
|
|
76
|
-
default: boolean;
|
|
77
|
-
};
|
|
78
|
-
width: {
|
|
79
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
80
|
-
};
|
|
81
|
-
height: {
|
|
82
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
83
|
-
};
|
|
84
|
-
direction: {
|
|
85
|
-
type: PropType<BlockDirection>;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
grow: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
shrink: {
|
|
93
|
-
type: BooleanConstructor;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
wrap: {
|
|
97
|
-
type: PropType<BlockWrap>;
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
justify: {
|
|
101
|
-
type: StringConstructor;
|
|
102
|
-
default: string;
|
|
103
|
-
};
|
|
104
|
-
align: {
|
|
105
|
-
type: StringConstructor;
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
border: {
|
|
109
|
-
type: BooleanConstructor;
|
|
110
|
-
};
|
|
111
|
-
radius: {
|
|
112
|
-
type: BooleanConstructor;
|
|
113
|
-
};
|
|
114
|
-
background: {
|
|
115
|
-
type: BooleanConstructor;
|
|
116
|
-
};
|
|
117
|
-
split: {
|
|
118
|
-
type: BooleanConstructor;
|
|
119
|
-
};
|
|
120
|
-
fit: {
|
|
121
|
-
type: BooleanConstructor;
|
|
122
|
-
};
|
|
123
|
-
overflow: {
|
|
124
|
-
type: PropType<BlockOverflow>;
|
|
125
|
-
default: string;
|
|
126
|
-
};
|
|
127
|
-
padding: {
|
|
128
|
-
type: BooleanConstructor;
|
|
129
|
-
default: boolean;
|
|
130
|
-
};
|
|
131
|
-
}>>>;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
/**
|
|
135
|
-
* 定义组件事件
|
|
136
|
-
*/
|
|
137
|
-
export declare const wrapperEmits: {};
|
|
138
|
-
/**
|
|
139
|
-
* 组件属性类型
|
|
140
|
-
*/
|
|
141
|
-
export type WrapperProps = Partial<ExtractPropTypes<typeof wrapperProps>>;
|
|
142
|
-
/**
|
|
143
|
-
* 组件事件类型
|
|
144
|
-
*/
|
|
145
|
-
export type WrapperEmits = Emits<typeof wrapperEmits>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { ConfigContext } from '../components';
|
|
3
|
-
export declare function useConfig<T>(key?: keyof ConfigContext, defaultValue?: any): ComputedRef<T>;
|
|
4
|
-
export declare function setConfig(value: ConfigContext | Ref<ConfigContext>): void;
|
|
5
|
-
export declare function getConfigValue<T>(key?: keyof ConfigContext, defaultValue?: any): (...args: any[]) => T;
|
|
File without changes
|