jky-component-lib 0.0.118 → 0.0.122
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/es/amap/style2.css +2 -6
- package/dist/es/amap/style3.css +6 -2
- package/dist/es/form/Form.vue.js +51 -13
- package/dist/es/form/FormItem.vue.js +60 -47
- package/dist/es/modal/Modal.vue.js +0 -1
- package/dist/es/package.json.js +1 -1
- package/dist/lib/amap/style2.css +2 -6
- package/dist/lib/amap/style3.css +6 -2
- package/dist/lib/form/Form.vue.js +50 -12
- package/dist/lib/form/FormItem.vue.js +59 -46
- package/dist/lib/modal/Modal.vue.js +0 -1
- package/dist/lib/package.json.js +1 -1
- package/package.json +2 -2
- package/dist/es/add-input/AddInput.vue.d.ts +0 -27
- package/dist/es/add-input/index.d.ts +0 -5
- package/dist/es/amap/AMap.vue.d.ts +0 -61
- package/dist/es/amap/AMarker.vue.d.ts +0 -38
- package/dist/es/amap/ATrackPlayback.vue.d.ts +0 -69
- package/dist/es/amap/index.d.ts +0 -9
- package/dist/es/button/Button.vue.d.ts +0 -33
- package/dist/es/button/index.d.ts +0 -4
- package/dist/es/button-nav/ButtonNav.vue.d.ts +0 -36
- package/dist/es/button-nav/index.d.ts +0 -4
- package/dist/es/code-mirror-editor/CodeMirrorEditor.vue.d.ts +0 -25
- package/dist/es/code-mirror-editor/index.d.ts +0 -5
- package/dist/es/components.d.ts +0 -18
- package/dist/es/form/Form.vue.d.ts +0 -338
- package/dist/es/form/FormItem.vue.d.ts +0 -6
- package/dist/es/form/SelectTable.vue.d.ts +0 -38
- package/dist/es/form/index.d.ts +0 -5
- package/dist/es/index.d.ts +0 -8
- package/dist/es/menu/Menu.vue.d.ts +0 -23
- package/dist/es/menu/MenuItem.vue.d.ts +0 -7
- package/dist/es/menu/index.d.ts +0 -5
- package/dist/es/modal/Footer.vue.d.ts +0 -10
- package/dist/es/modal/Header.vue.d.ts +0 -37
- package/dist/es/modal/Modal.vue.d.ts +0 -75
- package/dist/es/modal/index.d.ts +0 -5
- package/dist/es/page-header/PageHeader.vue.d.ts +0 -31
- package/dist/es/page-header/PopoverMenu.vue.d.ts +0 -13
- package/dist/es/page-header/index.d.ts +0 -5
- package/dist/es/page-layout/PageLayout.vue.d.ts +0 -18
- package/dist/es/page-layout/index.d.ts +0 -5
- package/dist/es/page-table/ActionColumn.vue.d.ts +0 -11
- package/dist/es/page-table/PageTable.vue.d.ts +0 -5437
- package/dist/es/page-table/PageTableColumn.vue.d.ts +0 -36
- package/dist/es/page-table/Toolbar.vue.d.ts +0 -33
- package/dist/es/page-table/index.d.ts +0 -9
- package/dist/es/page-table-v2/PageTableV2.vue.d.ts +0 -956
- package/dist/es/page-table-v2/index.d.ts +0 -4
- package/dist/es/resolver.d.ts +0 -2
- package/dist/es/rich-editor/RichEditor.vue.d.ts +0 -78
- package/dist/es/rich-editor/index.d.ts +0 -5
- package/dist/es/say-hello/SayHello.vue.d.ts +0 -5
- package/dist/es/say-hello/index.d.ts +0 -4
- package/dist/es/tabs/ContextMenu.vue.d.ts +0 -30
- package/dist/es/tabs/Tabs.vue.d.ts +0 -13
- package/dist/es/tabs/config.d.ts +0 -2
- package/dist/es/tabs/createTabsGuard.d.ts +0 -5
- package/dist/es/tabs/index.d.ts +0 -7
- package/dist/es/tabs/useTabsStore.d.ts +0 -6
- package/dist/es/utils/index.d.ts +0 -5
- package/dist/es/utils/installer.d.ts +0 -13
- package/dist/es/utils/responsive-toolbar.d.ts +0 -78
- package/dist/es/utils/string.d.ts +0 -18
- package/dist/es/utils/types.d.ts +0 -12
- package/dist/es/utils/with-install.d.ts +0 -2
- package/dist/lib/add-input/AddInput.vue.d.ts +0 -27
- package/dist/lib/add-input/index.d.ts +0 -5
- package/dist/lib/amap/AMap.vue.d.ts +0 -61
- package/dist/lib/amap/AMarker.vue.d.ts +0 -38
- package/dist/lib/amap/ATrackPlayback.vue.d.ts +0 -69
- package/dist/lib/amap/index.d.ts +0 -9
- package/dist/lib/button/Button.vue.d.ts +0 -33
- package/dist/lib/button/index.d.ts +0 -4
- package/dist/lib/button-nav/ButtonNav.vue.d.ts +0 -36
- package/dist/lib/button-nav/index.d.ts +0 -4
- package/dist/lib/code-mirror-editor/CodeMirrorEditor.vue.d.ts +0 -25
- package/dist/lib/code-mirror-editor/index.d.ts +0 -5
- package/dist/lib/components.d.ts +0 -18
- package/dist/lib/form/Form.vue.d.ts +0 -338
- package/dist/lib/form/FormItem.vue.d.ts +0 -6
- package/dist/lib/form/SelectTable.vue.d.ts +0 -38
- package/dist/lib/form/index.d.ts +0 -5
- package/dist/lib/index.d.ts +0 -8
- package/dist/lib/menu/Menu.vue.d.ts +0 -23
- package/dist/lib/menu/MenuItem.vue.d.ts +0 -7
- package/dist/lib/menu/index.d.ts +0 -5
- package/dist/lib/modal/Footer.vue.d.ts +0 -10
- package/dist/lib/modal/Header.vue.d.ts +0 -37
- package/dist/lib/modal/Modal.vue.d.ts +0 -75
- package/dist/lib/modal/index.d.ts +0 -5
- package/dist/lib/page-header/PageHeader.vue.d.ts +0 -31
- package/dist/lib/page-header/PopoverMenu.vue.d.ts +0 -13
- package/dist/lib/page-header/index.d.ts +0 -5
- package/dist/lib/page-layout/PageLayout.vue.d.ts +0 -18
- package/dist/lib/page-layout/index.d.ts +0 -5
- package/dist/lib/page-table/ActionColumn.vue.d.ts +0 -11
- package/dist/lib/page-table/PageTable.vue.d.ts +0 -5437
- package/dist/lib/page-table/PageTableColumn.vue.d.ts +0 -36
- package/dist/lib/page-table/Toolbar.vue.d.ts +0 -33
- package/dist/lib/page-table/index.d.ts +0 -9
- package/dist/lib/page-table-v2/PageTableV2.vue.d.ts +0 -956
- package/dist/lib/page-table-v2/index.d.ts +0 -4
- package/dist/lib/resolver.d.ts +0 -2
- package/dist/lib/rich-editor/RichEditor.vue.d.ts +0 -78
- package/dist/lib/rich-editor/index.d.ts +0 -5
- package/dist/lib/say-hello/SayHello.vue.d.ts +0 -5
- package/dist/lib/say-hello/index.d.ts +0 -4
- package/dist/lib/tabs/ContextMenu.vue.d.ts +0 -30
- package/dist/lib/tabs/Tabs.vue.d.ts +0 -13
- package/dist/lib/tabs/config.d.ts +0 -2
- package/dist/lib/tabs/createTabsGuard.d.ts +0 -5
- package/dist/lib/tabs/index.d.ts +0 -7
- package/dist/lib/tabs/useTabsStore.d.ts +0 -6
- package/dist/lib/utils/index.d.ts +0 -5
- package/dist/lib/utils/installer.d.ts +0 -13
- package/dist/lib/utils/responsive-toolbar.d.ts +0 -78
- package/dist/lib/utils/string.d.ts +0 -18
- package/dist/lib/utils/types.d.ts +0 -12
- package/dist/lib/utils/with-install.d.ts +0 -2
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
import { FormProps } from './types';
|
|
2
|
-
type __VLS_Props = FormProps;
|
|
3
|
-
declare function validate(callback?: (isValid: boolean, invalidFields?: any) => void): Promise<boolean>;
|
|
4
|
-
declare function clearValidate(props?: any): void;
|
|
5
|
-
declare function getFormInstance(): ({
|
|
6
|
-
$: import('vue').ComponentInternalInstance;
|
|
7
|
-
$data: {};
|
|
8
|
-
$props: {
|
|
9
|
-
readonly model?: Record<string, any> | undefined;
|
|
10
|
-
readonly rules?: import('element-plus').FormRules | undefined;
|
|
11
|
-
readonly labelPosition?: "left" | "right" | "top" | undefined;
|
|
12
|
-
readonly requireAsteriskPosition?: "left" | "right" | undefined;
|
|
13
|
-
readonly labelWidth?: string | number | undefined;
|
|
14
|
-
readonly labelSuffix?: string | undefined;
|
|
15
|
-
readonly inline?: boolean | undefined;
|
|
16
|
-
readonly inlineMessage?: boolean | undefined;
|
|
17
|
-
readonly statusIcon?: boolean | undefined;
|
|
18
|
-
readonly showMessage?: boolean | undefined;
|
|
19
|
-
readonly validateOnRuleChange?: boolean | undefined;
|
|
20
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
21
|
-
readonly scrollToError?: boolean | undefined;
|
|
22
|
-
readonly scrollIntoViewOptions?: (ScrollIntoViewOptions | boolean) | undefined;
|
|
23
|
-
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
24
|
-
readonly disabled?: boolean | undefined;
|
|
25
|
-
readonly onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
26
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
27
|
-
$attrs: import('vue').Attrs;
|
|
28
|
-
$refs: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
};
|
|
31
|
-
$slots: Readonly<{
|
|
32
|
-
[name: string]: globalThis.Slot | undefined;
|
|
33
|
-
}>;
|
|
34
|
-
$root: ComponentPublicInstance | null;
|
|
35
|
-
$parent: ComponentPublicInstance | null;
|
|
36
|
-
$host: Element | null;
|
|
37
|
-
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
38
|
-
$el: any;
|
|
39
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
40
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
41
|
-
}>, {
|
|
42
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
43
|
-
validateField: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
44
|
-
resetFields: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
45
|
-
clearValidate: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
46
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
47
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
48
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
49
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
50
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
|
-
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
52
|
-
}, string, {
|
|
53
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
54
|
-
labelWidth: string | number;
|
|
55
|
-
labelPosition: "left" | "right" | "top";
|
|
56
|
-
requireAsteriskPosition: "left" | "right";
|
|
57
|
-
labelSuffix: string;
|
|
58
|
-
showMessage: boolean;
|
|
59
|
-
validateOnRuleChange: boolean;
|
|
60
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
61
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
62
|
-
created?: (() => void) | (() => void)[];
|
|
63
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
64
|
-
mounted?: (() => void) | (() => void)[];
|
|
65
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
66
|
-
updated?: (() => void) | (() => void)[];
|
|
67
|
-
activated?: (() => void) | (() => void)[];
|
|
68
|
-
deactivated?: (() => void) | (() => void)[];
|
|
69
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
70
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
71
|
-
destroyed?: (() => void) | (() => void)[];
|
|
72
|
-
unmounted?: (() => void) | (() => void)[];
|
|
73
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
74
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
75
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
76
|
-
};
|
|
77
|
-
$forceUpdate: () => void;
|
|
78
|
-
$nextTick: typeof import('vue').nextTick;
|
|
79
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
80
|
-
} & Readonly<{
|
|
81
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
82
|
-
labelWidth: string | number;
|
|
83
|
-
labelPosition: "left" | "right" | "top";
|
|
84
|
-
requireAsteriskPosition: "left" | "right";
|
|
85
|
-
labelSuffix: string;
|
|
86
|
-
showMessage: boolean;
|
|
87
|
-
validateOnRuleChange: boolean;
|
|
88
|
-
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
89
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
90
|
-
}>, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & {
|
|
91
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
92
|
-
validateField: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
93
|
-
resetFields: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
94
|
-
clearValidate: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
95
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
96
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
97
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
98
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
99
|
-
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
100
|
-
$slots: {
|
|
101
|
-
default?: (props: {}) => any;
|
|
102
|
-
};
|
|
103
|
-
}) | undefined;
|
|
104
|
-
type __VLS_PublicProps = {
|
|
105
|
-
modelValue: Record<string, any>;
|
|
106
|
-
} & __VLS_Props;
|
|
107
|
-
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
108
|
-
validate: typeof validate;
|
|
109
|
-
clearValidate: typeof clearValidate;
|
|
110
|
-
getFormInstance: typeof getFormInstance;
|
|
111
|
-
form: ({
|
|
112
|
-
$: import('vue').ComponentInternalInstance;
|
|
113
|
-
$data: {};
|
|
114
|
-
$props: {
|
|
115
|
-
readonly model?: Record<string, any> | undefined;
|
|
116
|
-
readonly rules?: import('element-plus').FormRules | undefined;
|
|
117
|
-
readonly labelPosition?: "left" | "right" | "top" | undefined;
|
|
118
|
-
readonly requireAsteriskPosition?: "left" | "right" | undefined;
|
|
119
|
-
readonly labelWidth?: string | number | undefined;
|
|
120
|
-
readonly labelSuffix?: string | undefined;
|
|
121
|
-
readonly inline?: boolean | undefined;
|
|
122
|
-
readonly inlineMessage?: boolean | undefined;
|
|
123
|
-
readonly statusIcon?: boolean | undefined;
|
|
124
|
-
readonly showMessage?: boolean | undefined;
|
|
125
|
-
readonly validateOnRuleChange?: boolean | undefined;
|
|
126
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
127
|
-
readonly scrollToError?: boolean | undefined;
|
|
128
|
-
readonly scrollIntoViewOptions?: (ScrollIntoViewOptions | boolean) | undefined;
|
|
129
|
-
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
130
|
-
readonly disabled?: boolean | undefined;
|
|
131
|
-
readonly onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
132
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
133
|
-
$attrs: import('vue').Attrs;
|
|
134
|
-
$refs: {
|
|
135
|
-
[x: string]: unknown;
|
|
136
|
-
};
|
|
137
|
-
$slots: Readonly<{
|
|
138
|
-
[name: string]: globalThis.Slot | undefined;
|
|
139
|
-
}>;
|
|
140
|
-
$root: ComponentPublicInstance | null;
|
|
141
|
-
$parent: ComponentPublicInstance | null;
|
|
142
|
-
$host: Element | null;
|
|
143
|
-
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
144
|
-
$el: any;
|
|
145
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
146
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
147
|
-
}>, {
|
|
148
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
149
|
-
validateField: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
150
|
-
resetFields: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
151
|
-
clearValidate: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
152
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
153
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
154
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
155
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
156
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
157
|
-
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
158
|
-
}, string, {
|
|
159
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
160
|
-
labelWidth: string | number;
|
|
161
|
-
labelPosition: "left" | "right" | "top";
|
|
162
|
-
requireAsteriskPosition: "left" | "right";
|
|
163
|
-
labelSuffix: string;
|
|
164
|
-
showMessage: boolean;
|
|
165
|
-
validateOnRuleChange: boolean;
|
|
166
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
167
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
168
|
-
created?: (() => void) | (() => void)[];
|
|
169
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
170
|
-
mounted?: (() => void) | (() => void)[];
|
|
171
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
172
|
-
updated?: (() => void) | (() => void)[];
|
|
173
|
-
activated?: (() => void) | (() => void)[];
|
|
174
|
-
deactivated?: (() => void) | (() => void)[];
|
|
175
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
176
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
177
|
-
destroyed?: (() => void) | (() => void)[];
|
|
178
|
-
unmounted?: (() => void) | (() => void)[];
|
|
179
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
180
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
181
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
182
|
-
};
|
|
183
|
-
$forceUpdate: () => void;
|
|
184
|
-
$nextTick: typeof import('vue').nextTick;
|
|
185
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
186
|
-
} & Readonly<{
|
|
187
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
188
|
-
labelWidth: string | number;
|
|
189
|
-
labelPosition: "left" | "right" | "top";
|
|
190
|
-
requireAsteriskPosition: "left" | "right";
|
|
191
|
-
labelSuffix: string;
|
|
192
|
-
showMessage: boolean;
|
|
193
|
-
validateOnRuleChange: boolean;
|
|
194
|
-
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
195
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
196
|
-
}>, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & {
|
|
197
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
198
|
-
validateField: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
199
|
-
resetFields: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
200
|
-
clearValidate: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
201
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
202
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
203
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
204
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
205
|
-
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
206
|
-
$slots: {
|
|
207
|
-
default?: (props: {}) => any;
|
|
208
|
-
};
|
|
209
|
-
}) | undefined;
|
|
210
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
211
|
-
"update:modelValue": (value: Record<string, any>) => any;
|
|
212
|
-
change: (value: Record<string, any>) => any;
|
|
213
|
-
reset: () => any;
|
|
214
|
-
submit: (data: Record<string, any>) => any;
|
|
215
|
-
validate: (result: {
|
|
216
|
-
valid: boolean;
|
|
217
|
-
fields?: any;
|
|
218
|
-
}) => any;
|
|
219
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
220
|
-
"onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
|
|
221
|
-
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
222
|
-
onReset?: (() => any) | undefined;
|
|
223
|
-
onSubmit?: ((data: Record<string, any>) => any) | undefined;
|
|
224
|
-
onValidate?: ((result: {
|
|
225
|
-
valid: boolean;
|
|
226
|
-
fields?: any;
|
|
227
|
-
}) => any) | undefined;
|
|
228
|
-
}>, {
|
|
229
|
-
watchDeep: boolean;
|
|
230
|
-
showFooter: boolean;
|
|
231
|
-
footerClass: string;
|
|
232
|
-
submitText: string;
|
|
233
|
-
cancelText: string;
|
|
234
|
-
submitDisabled: boolean;
|
|
235
|
-
cancelDisabled: boolean;
|
|
236
|
-
showCount: number;
|
|
237
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
238
|
-
formRef: ({
|
|
239
|
-
$: import('vue').ComponentInternalInstance;
|
|
240
|
-
$data: {};
|
|
241
|
-
$props: {
|
|
242
|
-
readonly model?: Record<string, any> | undefined;
|
|
243
|
-
readonly rules?: import('element-plus').FormRules | undefined;
|
|
244
|
-
readonly labelPosition?: "left" | "right" | "top" | undefined;
|
|
245
|
-
readonly requireAsteriskPosition?: "left" | "right" | undefined;
|
|
246
|
-
readonly labelWidth?: string | number | undefined;
|
|
247
|
-
readonly labelSuffix?: string | undefined;
|
|
248
|
-
readonly inline?: boolean | undefined;
|
|
249
|
-
readonly inlineMessage?: boolean | undefined;
|
|
250
|
-
readonly statusIcon?: boolean | undefined;
|
|
251
|
-
readonly showMessage?: boolean | undefined;
|
|
252
|
-
readonly validateOnRuleChange?: boolean | undefined;
|
|
253
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
254
|
-
readonly scrollToError?: boolean | undefined;
|
|
255
|
-
readonly scrollIntoViewOptions?: (ScrollIntoViewOptions | boolean) | undefined;
|
|
256
|
-
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
257
|
-
readonly disabled?: boolean | undefined;
|
|
258
|
-
readonly onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
259
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
260
|
-
$attrs: import('vue').Attrs;
|
|
261
|
-
$refs: {
|
|
262
|
-
[x: string]: unknown;
|
|
263
|
-
};
|
|
264
|
-
$slots: Readonly<{
|
|
265
|
-
[name: string]: globalThis.Slot | undefined;
|
|
266
|
-
}>;
|
|
267
|
-
$root: ComponentPublicInstance | null;
|
|
268
|
-
$parent: ComponentPublicInstance | null;
|
|
269
|
-
$host: Element | null;
|
|
270
|
-
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
271
|
-
$el: any;
|
|
272
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
273
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
274
|
-
}>, {
|
|
275
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
276
|
-
validateField: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
277
|
-
resetFields: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
278
|
-
clearValidate: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
279
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
280
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
281
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
282
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
283
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
284
|
-
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
285
|
-
}, string, {
|
|
286
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
287
|
-
labelWidth: string | number;
|
|
288
|
-
labelPosition: "left" | "right" | "top";
|
|
289
|
-
requireAsteriskPosition: "left" | "right";
|
|
290
|
-
labelSuffix: string;
|
|
291
|
-
showMessage: boolean;
|
|
292
|
-
validateOnRuleChange: boolean;
|
|
293
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
294
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
295
|
-
created?: (() => void) | (() => void)[];
|
|
296
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
297
|
-
mounted?: (() => void) | (() => void)[];
|
|
298
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
299
|
-
updated?: (() => void) | (() => void)[];
|
|
300
|
-
activated?: (() => void) | (() => void)[];
|
|
301
|
-
deactivated?: (() => void) | (() => void)[];
|
|
302
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
303
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
304
|
-
destroyed?: (() => void) | (() => void)[];
|
|
305
|
-
unmounted?: (() => void) | (() => void)[];
|
|
306
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
307
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
308
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
309
|
-
};
|
|
310
|
-
$forceUpdate: () => void;
|
|
311
|
-
$nextTick: typeof import('vue').nextTick;
|
|
312
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
313
|
-
} & Readonly<{
|
|
314
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
315
|
-
labelWidth: string | number;
|
|
316
|
-
labelPosition: "left" | "right" | "top";
|
|
317
|
-
requireAsteriskPosition: "left" | "right";
|
|
318
|
-
labelSuffix: string;
|
|
319
|
-
showMessage: boolean;
|
|
320
|
-
validateOnRuleChange: boolean;
|
|
321
|
-
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
322
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
323
|
-
}>, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & {
|
|
324
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
325
|
-
validateField: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
326
|
-
resetFields: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
327
|
-
clearValidate: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
328
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
329
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
330
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
331
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
332
|
-
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
333
|
-
$slots: {
|
|
334
|
-
default?: (props: {}) => any;
|
|
335
|
-
};
|
|
336
|
-
}) | null;
|
|
337
|
-
}, any>;
|
|
338
|
-
export default _default;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FormItemProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<FormItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FormItemProps> & Readonly<{}>, {
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
readonly: boolean | ((context: import('./types').FormItemPropsContext<T>) => boolean);
|
|
5
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
-
export default _default;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { SelectTableProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SelectTableProps>, {
|
|
3
|
-
multiple: boolean;
|
|
4
|
-
labelField: string;
|
|
5
|
-
idField: string;
|
|
6
|
-
readonly: boolean;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (value: string | number | (string | number)[]) => any;
|
|
10
|
-
change: (value: string | number | (string | number)[], selectedData: any[]) => any;
|
|
11
|
-
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SelectTableProps>, {
|
|
12
|
-
multiple: boolean;
|
|
13
|
-
labelField: string;
|
|
14
|
-
idField: string;
|
|
15
|
-
readonly: boolean;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
}>>> & Readonly<{
|
|
18
|
-
"onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
19
|
-
onChange?: ((value: string | number | (string | number)[], selectedData: any[]) => any) | undefined;
|
|
20
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
-
export default _default;
|
|
22
|
-
type __VLS_WithDefaults<P, D> = {
|
|
23
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
24
|
-
default: D[K];
|
|
25
|
-
}> : P[K];
|
|
26
|
-
};
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToOption<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
type __VLS_PrettifyLocal<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
package/dist/es/form/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { InstallWithSFC } from '../utils';
|
|
2
|
-
import { default as Form } from './Form.vue';
|
|
3
|
-
export type { ComponentPropsMap, ComponentPropsType, DynamicComponentProps, FormComponentType, FormItemChildConfig, FormItemConfig, FormItemOption, FormItemProps, FormItemPropsContext, FormProps, FormValidateResult, GridConfig, HelpConfig, HelpType, ResponsiveBreakpoint, ResponsiveConfig, SelectTableComponentProps, SelectTableProps, StaticComponentProps, } from './types';
|
|
4
|
-
export declare const JkyForm: InstallWithSFC<typeof Form>;
|
|
5
|
-
export default JkyForm;
|
package/dist/es/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ElementPlusOptions, InstallerOptions } from './utils/types';
|
|
2
|
-
export * from './components';
|
|
3
|
-
export * from './resolver';
|
|
4
|
-
export type { ElementPlusOptions, InstallerOptions };
|
|
5
|
-
declare const installer: import('./utils/installer').JkyInstaller;
|
|
6
|
-
export declare const install: (app: import('vue').App, options?: InstallerOptions) => void;
|
|
7
|
-
export declare const version: string;
|
|
8
|
-
export default installer;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { MenuProps } from './types';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: {
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<MenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MenuProps> & Readonly<{}>, {
|
|
12
|
-
levels: number;
|
|
13
|
-
readonly uniqueOpened: boolean;
|
|
14
|
-
readonly menuTrigger: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
|
|
15
|
-
menuData: import('./types').MenuItem[];
|
|
16
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { MenuItem as MenuItemType } from './types';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
item: MenuItemType;
|
|
4
|
-
levels?: number;
|
|
5
|
-
};
|
|
6
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
export default _default;
|
package/dist/es/menu/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ModalProps } from './types';
|
|
2
|
-
type __VLS_Props = Pick<ModalProps, 'confirmText' | 'cancelText'>;
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
-
cancel: (...args: any[]) => void;
|
|
5
|
-
confirm: (...args: any[]) => void;
|
|
6
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
|
-
export default _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title: string;
|
|
3
|
-
fullscreen: boolean;
|
|
4
|
-
mode?: 'dialog' | 'drawer';
|
|
5
|
-
drawerDirection?: 'rtl' | 'ltr' | 'ttb' | 'btt';
|
|
6
|
-
};
|
|
7
|
-
declare function __VLS_template(): {
|
|
8
|
-
attrs: Partial<{}>;
|
|
9
|
-
slots: {
|
|
10
|
-
default?(_: {}): any;
|
|
11
|
-
direction?(_: {}): any;
|
|
12
|
-
toggle?(_: {}): any;
|
|
13
|
-
fullscreen?(_: {}): any;
|
|
14
|
-
close?(_: {}): any;
|
|
15
|
-
};
|
|
16
|
-
refs: {};
|
|
17
|
-
rootEl: HTMLDivElement;
|
|
18
|
-
};
|
|
19
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
|
-
close: () => any;
|
|
22
|
-
toggle: () => any;
|
|
23
|
-
fullscreen: () => any;
|
|
24
|
-
toggleDirection: () => any;
|
|
25
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
-
onClose?: (() => any) | undefined;
|
|
27
|
-
onToggle?: (() => any) | undefined;
|
|
28
|
-
onFullscreen?: (() => any) | undefined;
|
|
29
|
-
onToggleDirection?: (() => any) | undefined;
|
|
30
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
31
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
|
-
export default _default;
|
|
33
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
-
new (): {
|
|
35
|
-
$slots: S;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { ModalDirection, ModalProps } from './types';
|
|
2
|
-
type __VLS_Props = ModalProps;
|
|
3
|
-
declare function handleTypeChange(): void;
|
|
4
|
-
declare function toggleFullscreen(): void;
|
|
5
|
-
declare function toggleDirection(): void;
|
|
6
|
-
declare function handleClose(): void;
|
|
7
|
-
type __VLS_PublicProps = {
|
|
8
|
-
modelValue?: boolean;
|
|
9
|
-
'mode'?: 'dialog' | 'drawer';
|
|
10
|
-
'fullscreen'?: boolean;
|
|
11
|
-
'direction'?: ModalDirection;
|
|
12
|
-
} & __VLS_Props;
|
|
13
|
-
declare function __VLS_template(): {
|
|
14
|
-
attrs: Partial<{}>;
|
|
15
|
-
slots: {
|
|
16
|
-
header?(_: {
|
|
17
|
-
fullscreen: boolean;
|
|
18
|
-
close: typeof handleClose;
|
|
19
|
-
toggleFullscreen: typeof toggleFullscreen;
|
|
20
|
-
toggleType: typeof handleTypeChange;
|
|
21
|
-
}): any;
|
|
22
|
-
header?(_: {
|
|
23
|
-
fullscreen: boolean;
|
|
24
|
-
close: typeof handleClose;
|
|
25
|
-
toggleFullscreen: typeof toggleFullscreen;
|
|
26
|
-
toggleType: typeof handleTypeChange;
|
|
27
|
-
toggleDirection: typeof toggleDirection;
|
|
28
|
-
}): any;
|
|
29
|
-
default?(_: {}): any;
|
|
30
|
-
default?(_: {}): any;
|
|
31
|
-
footer?(_: {}): any;
|
|
32
|
-
footer?(_: {}): any;
|
|
33
|
-
};
|
|
34
|
-
refs: {};
|
|
35
|
-
rootEl: any;
|
|
36
|
-
};
|
|
37
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
38
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
-
"update:modelValue": (value: boolean) => any;
|
|
40
|
-
"update:mode": (value: "dialog" | "drawer") => any;
|
|
41
|
-
"update:fullscreen": (value: boolean) => any;
|
|
42
|
-
"update:direction": (value: ModalDirection) => any;
|
|
43
|
-
} & {
|
|
44
|
-
"update:modelValue": (value: boolean) => any;
|
|
45
|
-
cancel: () => any;
|
|
46
|
-
close: () => any;
|
|
47
|
-
open: () => any;
|
|
48
|
-
confirm: () => any;
|
|
49
|
-
opened: () => any;
|
|
50
|
-
closed: () => any;
|
|
51
|
-
typeChange: (type: import('./types').ModalType) => any;
|
|
52
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
53
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
54
|
-
onCancel?: (() => any) | undefined;
|
|
55
|
-
onClose?: (() => any) | undefined;
|
|
56
|
-
onOpen?: (() => any) | undefined;
|
|
57
|
-
onConfirm?: (() => any) | undefined;
|
|
58
|
-
onOpened?: (() => any) | undefined;
|
|
59
|
-
onClosed?: (() => any) | undefined;
|
|
60
|
-
"onUpdate:mode"?: ((value: "dialog" | "drawer") => any) | undefined;
|
|
61
|
-
"onUpdate:fullscreen"?: ((value: boolean) => any) | undefined;
|
|
62
|
-
"onUpdate:direction"?: ((value: ModalDirection) => any) | undefined;
|
|
63
|
-
onTypeChange?: ((type: import('./types').ModalType) => any) | undefined;
|
|
64
|
-
}>, {
|
|
65
|
-
title: string;
|
|
66
|
-
cancelText: string;
|
|
67
|
-
confirmText: string;
|
|
68
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
69
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
70
|
-
export default _default;
|
|
71
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
72
|
-
new (): {
|
|
73
|
-
$slots: S;
|
|
74
|
-
};
|
|
75
|
-
};
|
package/dist/es/modal/index.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { PageHeaderProps } from './types';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: {
|
|
5
|
-
center?(_: {}): any;
|
|
6
|
-
time?(_: {}): any;
|
|
7
|
-
userIcon?(_: {}): any;
|
|
8
|
-
};
|
|
9
|
-
refs: {};
|
|
10
|
-
rootEl: HTMLElement;
|
|
11
|
-
};
|
|
12
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<PageHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
-
command: (command: string) => any;
|
|
15
|
-
logout: () => any;
|
|
16
|
-
}, string, import('vue').PublicProps, Readonly<PageHeaderProps> & Readonly<{
|
|
17
|
-
onCommand?: ((command: string) => any) | undefined;
|
|
18
|
-
onLogout?: (() => any) | undefined;
|
|
19
|
-
}>, {
|
|
20
|
-
height: string | number;
|
|
21
|
-
theme: "light" | "dark";
|
|
22
|
-
statusIcons: import('./types').PageHeaderStatusIcon[];
|
|
23
|
-
userDropdownItems: import('./types').PageHeaderUserDropdonItem[];
|
|
24
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
25
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
-
export default _default;
|
|
27
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
-
new (): {
|
|
29
|
-
$slots: S;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TooltipTriggerType } from 'element-plus';
|
|
2
|
-
import { Arrayable } from 'element-plus/es/utils';
|
|
3
|
-
import { PageHeaderPopoverMenuItem, PageHeaderPopoverMenuProps } from './types';
|
|
4
|
-
declare const _default: import('vue').DefineComponent<PageHeaderPopoverMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PageHeaderPopoverMenuProps> & Readonly<{}>, {
|
|
5
|
-
width: number;
|
|
6
|
-
placement: import('element-plus').Placement;
|
|
7
|
-
trigger: Arrayable<TooltipTriggerType>;
|
|
8
|
-
theme: "light" | "dark";
|
|
9
|
-
menus: PageHeaderPopoverMenuItem[];
|
|
10
|
-
highlightCurrent: boolean;
|
|
11
|
-
buttonClass: string;
|
|
12
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { InstallWithSFC } from '../utils';
|
|
2
|
-
import { default as PageHeader } from './PageHeader.vue';
|
|
3
|
-
export type { PageHeaderPopoverMenuItem, PageHeaderPopoverMenuProps, PageHeaderProps, PageHeaderStatusIcon, PageHeaderUserDropdonItem, } from './types';
|
|
4
|
-
export declare const JkyPageHeader: InstallWithSFC<typeof PageHeader>;
|
|
5
|
-
export default JkyPageHeader;
|