@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,5 +1,4 @@
|
|
|
1
|
-
import type { App
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
install: (app: App, options?: ConfigContext) => void;
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
export declare const makeInstaller: (components?: any[]) => {
|
|
3
|
+
install: (app: App) => void;
|
|
5
4
|
};
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { BlockWrap, BlockOverflow } from '../..';
|
|
2
|
-
import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
import { BlockDirection } from './block';
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<{
|
|
5
|
-
flex: {
|
|
6
|
-
type: BooleanConstructor;
|
|
7
|
-
default: boolean;
|
|
8
|
-
};
|
|
9
|
-
width: {
|
|
10
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
11
|
-
};
|
|
12
|
-
height: {
|
|
13
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
14
|
-
};
|
|
15
|
-
direction: {
|
|
16
|
-
type: PropType<BlockDirection>;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
grow: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
shrink: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
wrap: {
|
|
28
|
-
type: PropType<BlockWrap>;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
justify: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
align: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
border: {
|
|
40
|
-
type: BooleanConstructor;
|
|
41
|
-
};
|
|
42
|
-
radius: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
};
|
|
45
|
-
background: {
|
|
46
|
-
type: BooleanConstructor;
|
|
47
|
-
};
|
|
48
|
-
split: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
};
|
|
51
|
-
fit: {
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
};
|
|
54
|
-
overflow: {
|
|
55
|
-
type: PropType<BlockOverflow>;
|
|
56
|
-
default: string;
|
|
57
|
-
};
|
|
58
|
-
padding: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
default: boolean;
|
|
61
|
-
};
|
|
62
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
63
|
-
flex: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
default: boolean;
|
|
66
|
-
};
|
|
67
|
-
width: {
|
|
68
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
69
|
-
};
|
|
70
|
-
height: {
|
|
71
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
72
|
-
};
|
|
73
|
-
direction: {
|
|
74
|
-
type: PropType<BlockDirection>;
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
grow: {
|
|
78
|
-
type: BooleanConstructor;
|
|
79
|
-
default: boolean;
|
|
80
|
-
};
|
|
81
|
-
shrink: {
|
|
82
|
-
type: BooleanConstructor;
|
|
83
|
-
default: boolean;
|
|
84
|
-
};
|
|
85
|
-
wrap: {
|
|
86
|
-
type: PropType<BlockWrap>;
|
|
87
|
-
default: string;
|
|
88
|
-
};
|
|
89
|
-
justify: {
|
|
90
|
-
type: StringConstructor;
|
|
91
|
-
default: string;
|
|
92
|
-
};
|
|
93
|
-
align: {
|
|
94
|
-
type: StringConstructor;
|
|
95
|
-
default: string;
|
|
96
|
-
};
|
|
97
|
-
border: {
|
|
98
|
-
type: BooleanConstructor;
|
|
99
|
-
};
|
|
100
|
-
radius: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
};
|
|
103
|
-
background: {
|
|
104
|
-
type: BooleanConstructor;
|
|
105
|
-
};
|
|
106
|
-
split: {
|
|
107
|
-
type: BooleanConstructor;
|
|
108
|
-
};
|
|
109
|
-
fit: {
|
|
110
|
-
type: BooleanConstructor;
|
|
111
|
-
};
|
|
112
|
-
overflow: {
|
|
113
|
-
type: PropType<BlockOverflow>;
|
|
114
|
-
default: string;
|
|
115
|
-
};
|
|
116
|
-
padding: {
|
|
117
|
-
type: BooleanConstructor;
|
|
118
|
-
default: boolean;
|
|
119
|
-
};
|
|
120
|
-
}>>, {
|
|
121
|
-
wrap: BlockWrap;
|
|
122
|
-
flex: boolean;
|
|
123
|
-
direction: BlockDirection;
|
|
124
|
-
grow: boolean;
|
|
125
|
-
shrink: boolean;
|
|
126
|
-
justify: string;
|
|
127
|
-
align: string;
|
|
128
|
-
border: boolean;
|
|
129
|
-
radius: boolean;
|
|
130
|
-
background: boolean;
|
|
131
|
-
split: boolean;
|
|
132
|
-
fit: boolean;
|
|
133
|
-
overflow: BlockOverflow;
|
|
134
|
-
padding: boolean;
|
|
135
|
-
}, {}>, {
|
|
136
|
-
default?(_: {}): any;
|
|
137
|
-
}>;
|
|
138
|
-
export default _default;
|
|
139
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
140
|
-
new (): {
|
|
141
|
-
$slots: S;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import type Block from './Block.vue';
|
|
3
|
-
export type BlockDirection = 'column' | 'row' | 'column-reverse' | 'row-reverse';
|
|
4
|
-
export type BlockWrap = 'initial' | 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
5
|
-
export type BlockJustifyContent = 'center' | 'around' | 'between' | 'start' | 'end';
|
|
6
|
-
export type BlockAlignItems = 'center' | 'stretch' | 'start' | 'end';
|
|
7
|
-
export type BlockOverflow = 'auto' | 'hidden' | 'visible' | 'scroll';
|
|
8
|
-
export declare const blockProps: {
|
|
9
|
-
flex: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
width: {
|
|
14
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
15
|
-
};
|
|
16
|
-
height: {
|
|
17
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
18
|
-
};
|
|
19
|
-
direction: {
|
|
20
|
-
type: PropType<BlockDirection>;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
grow: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
shrink: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
wrap: {
|
|
32
|
-
type: PropType<BlockWrap>;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
justify: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
align: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
border: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
};
|
|
46
|
-
radius: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
};
|
|
49
|
-
background: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
};
|
|
52
|
-
split: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
};
|
|
55
|
-
fit: {
|
|
56
|
-
type: BooleanConstructor;
|
|
57
|
-
};
|
|
58
|
-
overflow: {
|
|
59
|
-
type: PropType<BlockOverflow>;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
padding: {
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
export type BlockProps = Partial<ExtractPropTypes<typeof blockProps>>;
|
|
68
|
-
export type BlockInstance = InstanceType<typeof Block>;
|
|
@@ -1,319 +0,0 @@
|
|
|
1
|
-
import { BlockWrap, BlockDirection, BlockOverflow } from './block';
|
|
2
|
-
import { ComponentInternalInstance, VNodeRef, VNode, RendererNode, RendererElement, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
|
-
import { WithInstall } from '../../utils';
|
|
4
|
-
import Block from './Block.vue';
|
|
5
|
-
export declare const XBlock: WithInstall<{
|
|
6
|
-
new (...args: any[]): {
|
|
7
|
-
$: ComponentInternalInstance;
|
|
8
|
-
$data: {};
|
|
9
|
-
$props: {
|
|
10
|
-
wrap?: BlockWrap | undefined;
|
|
11
|
-
flex?: boolean | undefined;
|
|
12
|
-
direction?: BlockDirection | undefined;
|
|
13
|
-
grow?: boolean | undefined;
|
|
14
|
-
shrink?: boolean | undefined;
|
|
15
|
-
justify?: string | undefined;
|
|
16
|
-
align?: string | undefined;
|
|
17
|
-
border?: boolean | undefined;
|
|
18
|
-
radius?: boolean | undefined;
|
|
19
|
-
background?: boolean | undefined;
|
|
20
|
-
split?: boolean | undefined;
|
|
21
|
-
fit?: boolean | undefined;
|
|
22
|
-
overflow?: BlockOverflow | undefined;
|
|
23
|
-
padding?: boolean | undefined;
|
|
24
|
-
readonly width?: string | number | undefined;
|
|
25
|
-
readonly height?: string | number | undefined;
|
|
26
|
-
key?: string | number | symbol | undefined;
|
|
27
|
-
ref?: VNodeRef | undefined;
|
|
28
|
-
ref_for?: boolean | undefined;
|
|
29
|
-
ref_key?: string | undefined;
|
|
30
|
-
onVnodeBeforeMount?: ((vnode: VNode<RendererNode, RendererElement, {
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
}>) => void)[] | undefined;
|
|
35
|
-
onVnodeMounted?: ((vnode: VNode<RendererNode, RendererElement, {
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
38
|
-
[key: string]: any;
|
|
39
|
-
}>) => void)[] | undefined;
|
|
40
|
-
onVnodeBeforeUpdate?: ((vnode: VNode<RendererNode, RendererElement, {
|
|
41
|
-
[key: string]: any;
|
|
42
|
-
}>, oldVNode: VNode<RendererNode, RendererElement, {
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
}>, oldVNode: VNode<RendererNode, RendererElement, {
|
|
47
|
-
[key: string]: any;
|
|
48
|
-
}>) => void)[] | undefined;
|
|
49
|
-
onVnodeUpdated?: ((vnode: VNode<RendererNode, RendererElement, {
|
|
50
|
-
[key: string]: any;
|
|
51
|
-
}>, oldVNode: VNode<RendererNode, RendererElement, {
|
|
52
|
-
[key: string]: any;
|
|
53
|
-
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
54
|
-
[key: string]: any;
|
|
55
|
-
}>, oldVNode: VNode<RendererNode, RendererElement, {
|
|
56
|
-
[key: string]: any;
|
|
57
|
-
}>) => void)[] | undefined;
|
|
58
|
-
onVnodeBeforeUnmount?: ((vnode: VNode<RendererNode, RendererElement, {
|
|
59
|
-
[key: string]: any;
|
|
60
|
-
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
61
|
-
[key: string]: any;
|
|
62
|
-
}>) => void)[] | undefined;
|
|
63
|
-
onVnodeUnmounted?: ((vnode: VNode<RendererNode, RendererElement, {
|
|
64
|
-
[key: string]: any;
|
|
65
|
-
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
66
|
-
[key: string]: any;
|
|
67
|
-
}>) => void)[] | undefined;
|
|
68
|
-
class?: unknown;
|
|
69
|
-
style?: unknown;
|
|
70
|
-
};
|
|
71
|
-
$attrs: {
|
|
72
|
-
[x: string]: unknown;
|
|
73
|
-
};
|
|
74
|
-
$refs: {
|
|
75
|
-
[x: string]: unknown;
|
|
76
|
-
};
|
|
77
|
-
$slots: Readonly<{
|
|
78
|
-
[name: string]: Slot<any> | undefined;
|
|
79
|
-
}>;
|
|
80
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
81
|
-
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
82
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
83
|
-
$el: any;
|
|
84
|
-
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
85
|
-
flex: {
|
|
86
|
-
type: BooleanConstructor;
|
|
87
|
-
default: boolean;
|
|
88
|
-
};
|
|
89
|
-
width: {
|
|
90
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
91
|
-
};
|
|
92
|
-
height: {
|
|
93
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
94
|
-
};
|
|
95
|
-
direction: {
|
|
96
|
-
type: PropType<BlockDirection>;
|
|
97
|
-
default: string;
|
|
98
|
-
};
|
|
99
|
-
grow: {
|
|
100
|
-
type: BooleanConstructor;
|
|
101
|
-
default: boolean;
|
|
102
|
-
};
|
|
103
|
-
shrink: {
|
|
104
|
-
type: BooleanConstructor;
|
|
105
|
-
default: boolean;
|
|
106
|
-
};
|
|
107
|
-
wrap: {
|
|
108
|
-
type: PropType<BlockWrap>;
|
|
109
|
-
default: string;
|
|
110
|
-
};
|
|
111
|
-
justify: {
|
|
112
|
-
type: StringConstructor;
|
|
113
|
-
default: string;
|
|
114
|
-
};
|
|
115
|
-
align: {
|
|
116
|
-
type: StringConstructor;
|
|
117
|
-
default: string;
|
|
118
|
-
};
|
|
119
|
-
border: {
|
|
120
|
-
type: BooleanConstructor;
|
|
121
|
-
};
|
|
122
|
-
radius: {
|
|
123
|
-
type: BooleanConstructor;
|
|
124
|
-
};
|
|
125
|
-
background: {
|
|
126
|
-
type: BooleanConstructor;
|
|
127
|
-
};
|
|
128
|
-
split: {
|
|
129
|
-
type: BooleanConstructor;
|
|
130
|
-
};
|
|
131
|
-
fit: {
|
|
132
|
-
type: BooleanConstructor;
|
|
133
|
-
};
|
|
134
|
-
overflow: {
|
|
135
|
-
type: PropType<BlockOverflow>;
|
|
136
|
-
default: string;
|
|
137
|
-
};
|
|
138
|
-
padding: {
|
|
139
|
-
type: BooleanConstructor;
|
|
140
|
-
default: boolean;
|
|
141
|
-
};
|
|
142
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
143
|
-
wrap: BlockWrap;
|
|
144
|
-
flex: boolean;
|
|
145
|
-
direction: BlockDirection;
|
|
146
|
-
grow: boolean;
|
|
147
|
-
shrink: boolean;
|
|
148
|
-
justify: string;
|
|
149
|
-
align: string;
|
|
150
|
-
border: boolean;
|
|
151
|
-
radius: boolean;
|
|
152
|
-
background: boolean;
|
|
153
|
-
split: boolean;
|
|
154
|
-
fit: boolean;
|
|
155
|
-
overflow: BlockOverflow;
|
|
156
|
-
padding: boolean;
|
|
157
|
-
}, {}, string, {}> & {
|
|
158
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
159
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
160
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
161
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
162
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
163
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
164
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
165
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
166
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
167
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
168
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
169
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
170
|
-
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
171
|
-
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
172
|
-
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
173
|
-
};
|
|
174
|
-
$forceUpdate: () => void;
|
|
175
|
-
$nextTick: typeof nextTick;
|
|
176
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
177
|
-
} & Readonly<ExtractPropTypes<{
|
|
178
|
-
flex: {
|
|
179
|
-
type: BooleanConstructor;
|
|
180
|
-
default: boolean;
|
|
181
|
-
};
|
|
182
|
-
width: {
|
|
183
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
184
|
-
};
|
|
185
|
-
height: {
|
|
186
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
187
|
-
};
|
|
188
|
-
direction: {
|
|
189
|
-
type: PropType<BlockDirection>;
|
|
190
|
-
default: string;
|
|
191
|
-
};
|
|
192
|
-
grow: {
|
|
193
|
-
type: BooleanConstructor;
|
|
194
|
-
default: boolean;
|
|
195
|
-
};
|
|
196
|
-
shrink: {
|
|
197
|
-
type: BooleanConstructor;
|
|
198
|
-
default: boolean;
|
|
199
|
-
};
|
|
200
|
-
wrap: {
|
|
201
|
-
type: PropType<BlockWrap>;
|
|
202
|
-
default: string;
|
|
203
|
-
};
|
|
204
|
-
justify: {
|
|
205
|
-
type: StringConstructor;
|
|
206
|
-
default: string;
|
|
207
|
-
};
|
|
208
|
-
align: {
|
|
209
|
-
type: StringConstructor;
|
|
210
|
-
default: string;
|
|
211
|
-
};
|
|
212
|
-
border: {
|
|
213
|
-
type: BooleanConstructor;
|
|
214
|
-
};
|
|
215
|
-
radius: {
|
|
216
|
-
type: BooleanConstructor;
|
|
217
|
-
};
|
|
218
|
-
background: {
|
|
219
|
-
type: BooleanConstructor;
|
|
220
|
-
};
|
|
221
|
-
split: {
|
|
222
|
-
type: BooleanConstructor;
|
|
223
|
-
};
|
|
224
|
-
fit: {
|
|
225
|
-
type: BooleanConstructor;
|
|
226
|
-
};
|
|
227
|
-
overflow: {
|
|
228
|
-
type: PropType<BlockOverflow>;
|
|
229
|
-
default: string;
|
|
230
|
-
};
|
|
231
|
-
padding: {
|
|
232
|
-
type: BooleanConstructor;
|
|
233
|
-
default: boolean;
|
|
234
|
-
};
|
|
235
|
-
}>> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
|
|
236
|
-
__isFragment?: undefined;
|
|
237
|
-
__isTeleport?: undefined;
|
|
238
|
-
__isSuspense?: undefined;
|
|
239
|
-
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
240
|
-
flex: {
|
|
241
|
-
type: BooleanConstructor;
|
|
242
|
-
default: boolean;
|
|
243
|
-
};
|
|
244
|
-
width: {
|
|
245
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
246
|
-
};
|
|
247
|
-
height: {
|
|
248
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
249
|
-
};
|
|
250
|
-
direction: {
|
|
251
|
-
type: PropType<BlockDirection>;
|
|
252
|
-
default: string;
|
|
253
|
-
};
|
|
254
|
-
grow: {
|
|
255
|
-
type: BooleanConstructor;
|
|
256
|
-
default: boolean;
|
|
257
|
-
};
|
|
258
|
-
shrink: {
|
|
259
|
-
type: BooleanConstructor;
|
|
260
|
-
default: boolean;
|
|
261
|
-
};
|
|
262
|
-
wrap: {
|
|
263
|
-
type: PropType<BlockWrap>;
|
|
264
|
-
default: string;
|
|
265
|
-
};
|
|
266
|
-
justify: {
|
|
267
|
-
type: StringConstructor;
|
|
268
|
-
default: string;
|
|
269
|
-
};
|
|
270
|
-
align: {
|
|
271
|
-
type: StringConstructor;
|
|
272
|
-
default: string;
|
|
273
|
-
};
|
|
274
|
-
border: {
|
|
275
|
-
type: BooleanConstructor;
|
|
276
|
-
};
|
|
277
|
-
radius: {
|
|
278
|
-
type: BooleanConstructor;
|
|
279
|
-
};
|
|
280
|
-
background: {
|
|
281
|
-
type: BooleanConstructor;
|
|
282
|
-
};
|
|
283
|
-
split: {
|
|
284
|
-
type: BooleanConstructor;
|
|
285
|
-
};
|
|
286
|
-
fit: {
|
|
287
|
-
type: BooleanConstructor;
|
|
288
|
-
};
|
|
289
|
-
overflow: {
|
|
290
|
-
type: PropType<BlockOverflow>;
|
|
291
|
-
default: string;
|
|
292
|
-
};
|
|
293
|
-
padding: {
|
|
294
|
-
type: BooleanConstructor;
|
|
295
|
-
default: boolean;
|
|
296
|
-
};
|
|
297
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
298
|
-
wrap: BlockWrap;
|
|
299
|
-
flex: boolean;
|
|
300
|
-
direction: BlockDirection;
|
|
301
|
-
grow: boolean;
|
|
302
|
-
shrink: boolean;
|
|
303
|
-
justify: string;
|
|
304
|
-
align: string;
|
|
305
|
-
border: boolean;
|
|
306
|
-
radius: boolean;
|
|
307
|
-
background: boolean;
|
|
308
|
-
split: boolean;
|
|
309
|
-
fit: boolean;
|
|
310
|
-
overflow: BlockOverflow;
|
|
311
|
-
padding: boolean;
|
|
312
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
313
|
-
$slots: {
|
|
314
|
-
default?(_: {}): any;
|
|
315
|
-
};
|
|
316
|
-
})> & Record<string, any>;
|
|
317
|
-
export default XBlock;
|
|
318
|
-
export { Block };
|
|
319
|
-
export * from './block';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, App, ExtractPropTypes, InjectionKey, Ref } from 'vue';
|
|
2
|
-
import { configProps } from './props';
|
|
3
|
-
export { configProps };
|
|
4
|
-
export type ConfigProps = ExtractPropTypes<typeof configProps>;
|
|
5
|
-
export type ConfigContext = Partial<ConfigProps>;
|
|
6
|
-
export declare const configContextKey: InjectionKey<Ref<ConfigContext>>;
|
|
7
|
-
export declare function provideConfig(config: ConfigContext | Ref<ConfigContext>, app?: App): Ref<Partial<ConfigProps> | {
|
|
8
|
-
elementTag?: string | undefined;
|
|
9
|
-
}>;
|
|
10
|
-
declare const Config: DefineComponent<{
|
|
11
|
-
elementTag: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
}, () => VNode<RendererNode, RendererElement, {
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
18
|
-
elementTag: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
}>>, {
|
|
23
|
-
elementTag: string;
|
|
24
|
-
}, {}>;
|
|
25
|
-
export type ConfigInstance = InstanceType<typeof Config>;
|
|
26
|
-
export default Config;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { WithInstall } from '../../utils';
|
|
3
|
-
export declare const XConfig: WithInstall<DefineComponent<{
|
|
4
|
-
elementTag: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
}, () => VNode<RendererNode, RendererElement, {
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
11
|
-
elementTag: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
}>>, {
|
|
16
|
-
elementTag: string;
|
|
17
|
-
}, {}>> & Record<string, any>;
|
|
18
|
-
export default XConfig;
|
|
19
|
-
export * from './Config';
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { RowProps, ColProps } from 'element-plus';
|
|
2
|
-
import { UnReadOnly } from '../..';
|
|
3
|
-
import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
|
-
import { ContainerColumns } from './container';
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<{
|
|
6
|
-
items: {
|
|
7
|
-
type: PropType<number | any[]>;
|
|
8
|
-
};
|
|
9
|
-
columns: {
|
|
10
|
-
type: PropType<number | ContainerColumns>;
|
|
11
|
-
};
|
|
12
|
-
row: {
|
|
13
|
-
type: PropType<UnReadOnly<Partial<RowProps>>>;
|
|
14
|
-
};
|
|
15
|
-
col: {
|
|
16
|
-
type: PropType<UnReadOnly<Partial<ColProps>>>;
|
|
17
|
-
};
|
|
18
|
-
border: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
};
|
|
21
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
22
|
-
items: {
|
|
23
|
-
type: PropType<number | any[]>;
|
|
24
|
-
};
|
|
25
|
-
columns: {
|
|
26
|
-
type: PropType<number | ContainerColumns>;
|
|
27
|
-
};
|
|
28
|
-
row: {
|
|
29
|
-
type: PropType<UnReadOnly<Partial<RowProps>>>;
|
|
30
|
-
};
|
|
31
|
-
col: {
|
|
32
|
-
type: PropType<UnReadOnly<Partial<ColProps>>>;
|
|
33
|
-
};
|
|
34
|
-
border: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
};
|
|
37
|
-
}>>, {
|
|
38
|
-
border: boolean;
|
|
39
|
-
}, {}>, {
|
|
40
|
-
default?(_: {
|
|
41
|
-
item: ((radix?: number | undefined) => string) | {
|
|
42
|
-
(locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined): string;
|
|
43
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions | undefined): string;
|
|
44
|
-
} | (() => string) | (() => string);
|
|
45
|
-
}): any;
|
|
46
|
-
}>;
|
|
47
|
-
export default _default;
|
|
48
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
-
new (): {
|
|
50
|
-
$slots: S;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { Emits, UnReadOnly } from '../..';
|
|
3
|
-
import { RowProps, ColProps } from 'element-plus';
|
|
4
|
-
import type Container from './Container.vue';
|
|
5
|
-
export type ContainerColumns = {
|
|
6
|
-
xs?: number;
|
|
7
|
-
sm?: number;
|
|
8
|
-
md?: number;
|
|
9
|
-
lg?: number;
|
|
10
|
-
xl?: number;
|
|
11
|
-
};
|
|
12
|
-
export type ContainerRow = UnReadOnly<Partial<RowProps>>;
|
|
13
|
-
export type ContainerCol = UnReadOnly<Partial<ColProps>>;
|
|
14
|
-
/**
|
|
15
|
-
* 定义组件属性参数
|
|
16
|
-
*/
|
|
17
|
-
export declare const containerProps: {
|
|
18
|
-
items: {
|
|
19
|
-
type: PropType<number | any[]>;
|
|
20
|
-
};
|
|
21
|
-
columns: {
|
|
22
|
-
type: PropType<number | ContainerColumns>;
|
|
23
|
-
};
|
|
24
|
-
row: {
|
|
25
|
-
type: PropType<UnReadOnly<Partial<RowProps>>>;
|
|
26
|
-
};
|
|
27
|
-
col: {
|
|
28
|
-
type: PropType<UnReadOnly<Partial<ColProps>>>;
|
|
29
|
-
};
|
|
30
|
-
border: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* 定义组件事件
|
|
36
|
-
*/
|
|
37
|
-
export declare const containerEmits: {};
|
|
38
|
-
/**
|
|
39
|
-
* 组件属性类型
|
|
40
|
-
*/
|
|
41
|
-
export type ContainerProps = Partial<ExtractPropTypes<typeof containerProps>>;
|
|
42
|
-
/**
|
|
43
|
-
* 组件事件类型
|
|
44
|
-
*/
|
|
45
|
-
export type ContainerEmits = Emits<typeof containerEmits>;
|
|
46
|
-
export type ContainerInstance = InstanceType<typeof Container>;
|