3h1-ui 1.2.2 → 1.2.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.
Files changed (35) hide show
  1. package/es/index.js +4608 -4608
  2. package/es/style.css +182 -182
  3. package/es/ui/index.d.ts +1 -1
  4. package/es/ui/src/Button/index.d.ts +1 -0
  5. package/es/ui/src/ContextMenu/src/ContextMenu.vue.d.ts +1 -1
  6. package/es/ui/src/Form/index.d.ts +13 -0
  7. package/es/ui/src/Form/src/BasicForm.vue.d.ts +2 -0
  8. package/es/ui/src/Form/src/componentMap.d.ts +6 -0
  9. package/es/ui/src/Form/src/components/ApiCascader.vue.d.ts +2 -0
  10. package/es/ui/src/Form/src/components/ApiModalSelect/DeptTree.vue.d.ts +130 -0
  11. package/es/ui/src/Form/src/components/ApiModalSelect/Table.vue.d.ts +11 -0
  12. package/es/ui/src/Form/src/components/ApiRadioGroup.vue.d.ts +2 -0
  13. package/es/ui/src/Form/src/components/ApiSelect.vue.d.ts +2 -0
  14. package/es/ui/src/Form/src/components/ApiTransfer.vue.d.ts +2 -0
  15. package/es/ui/src/Form/src/components/ApiTree.vue.d.ts +2 -0
  16. package/es/ui/src/Form/src/components/ApiTreeSelect.vue.d.ts +2 -0
  17. package/es/ui/src/Form/src/components/FormAction.vue.d.ts +2 -0
  18. package/es/ui/src/Form/src/components/FormItem.vue.d.ts +72 -0
  19. package/es/ui/src/Form/src/components/RadioButtonGroup.vue.d.ts +35 -0
  20. package/es/ui/src/Form/src/helper.d.ts +14 -0
  21. package/es/ui/src/Form/src/hooks/useAutoFocus.d.ts +10 -0
  22. package/es/ui/src/Form/src/hooks/useComponentRegister.d.ts +3 -0
  23. package/es/ui/src/Form/src/hooks/useForm.d.ts +10 -0
  24. package/es/ui/src/Form/src/hooks/useFormContext.d.ts +8 -0
  25. package/es/ui/src/Form/src/hooks/useFormEvents.d.ts +28 -0
  26. package/es/ui/src/Form/src/hooks/useFormValues.d.ts +13 -0
  27. package/es/ui/src/Form/src/hooks/useLabelWidth.d.ts +318 -0
  28. package/es/ui/src/Form/src/props.d.ts +2 -0
  29. package/es/ui/src/Form/src/types/hooks.d.ts +6 -0
  30. package/es/ui/src/Table/index.d.ts +1 -1
  31. package/es/ui/src/Table/src/hooks/useTable.d.ts +1 -1
  32. package/es/ui/src/Table/src/hooks/useTableForm.d.ts +1 -2
  33. package/es/ui/src/Tree/src/BasicTree.vue.d.ts +7 -7
  34. package/lib/index.js +4604 -4604
  35. package/package.json +1 -1
@@ -0,0 +1,72 @@
1
+ import type { PropType } from 'vue';
2
+ import type { FormActionType, FormProps, FormSchema } from '../types/form';
3
+ import type { TableActionType } from '../../../Table';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ schema: {
6
+ type: PropType<FormSchema>;
7
+ default: () => {};
8
+ };
9
+ formProps: {
10
+ type: PropType<FormProps>;
11
+ default: () => {};
12
+ };
13
+ allDefaultValues: {
14
+ type: PropType<Recordable<any>>;
15
+ default: () => {};
16
+ };
17
+ formModel: {
18
+ type: PropType<Recordable<any>>;
19
+ default: () => {};
20
+ };
21
+ setFormModel: {
22
+ type: PropType<(key: string, value: any) => void>;
23
+ default: any;
24
+ };
25
+ tableAction: {
26
+ type: PropType<TableActionType>;
27
+ };
28
+ formActionType: {
29
+ type: PropType<FormActionType>;
30
+ };
31
+ isAdvanced: {
32
+ type: BooleanConstructor;
33
+ };
34
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
+ schema: {
36
+ type: PropType<FormSchema>;
37
+ default: () => {};
38
+ };
39
+ formProps: {
40
+ type: PropType<FormProps>;
41
+ default: () => {};
42
+ };
43
+ allDefaultValues: {
44
+ type: PropType<Recordable<any>>;
45
+ default: () => {};
46
+ };
47
+ formModel: {
48
+ type: PropType<Recordable<any>>;
49
+ default: () => {};
50
+ };
51
+ setFormModel: {
52
+ type: PropType<(key: string, value: any) => void>;
53
+ default: any;
54
+ };
55
+ tableAction: {
56
+ type: PropType<TableActionType>;
57
+ };
58
+ formActionType: {
59
+ type: PropType<FormActionType>;
60
+ };
61
+ isAdvanced: {
62
+ type: BooleanConstructor;
63
+ };
64
+ }>>, {
65
+ schema: FormSchema;
66
+ formProps: {};
67
+ allDefaultValues: {};
68
+ formModel: {};
69
+ setFormModel: (key: string, value: any) => void;
70
+ isAdvanced: boolean;
71
+ }>;
72
+ export default _sfc_main;
@@ -0,0 +1,35 @@
1
+ import { PropType } from 'vue';
2
+ declare type OptionsItem = {
3
+ label: string;
4
+ value: string | number | boolean;
5
+ disabled?: boolean;
6
+ };
7
+ declare type RadioItem = string | OptionsItem;
8
+ declare const _sfc_main: import("vue").DefineComponent<{
9
+ value: {
10
+ type: PropType<string | number | boolean>;
11
+ };
12
+ options: {
13
+ type: PropType<RadioItem[]>;
14
+ default: () => any[];
15
+ };
16
+ }, {
17
+ state: import("vue").WritableComputedRef<string | number | boolean | (string | {
18
+ label: string;
19
+ value: string | number | boolean;
20
+ disabled?: boolean;
21
+ })[]>;
22
+ getOptions: import("vue").ComputedRef<OptionsItem[]>;
23
+ attrs: {} | import("vue").Ref<Recordable<any>>;
24
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ value: {
26
+ type: PropType<string | number | boolean>;
27
+ };
28
+ options: {
29
+ type: PropType<RadioItem[]>;
30
+ default: () => any[];
31
+ };
32
+ }>>, {
33
+ options: RadioItem[];
34
+ }>;
35
+ export default _sfc_main;
@@ -0,0 +1,14 @@
1
+ import type { ValidationRule } from 'ant-design-vue/lib/form/Form';
2
+ import type { ComponentType } from './types/index';
3
+ /**
4
+ * @description: 生成placeholder
5
+ */
6
+ export declare function createPlaceholderMessage(component: ComponentType): "" | "请输入" | "请选择";
7
+ export declare function setComponentRuleType(rule: ValidationRule, component: ComponentType, valueFormat: string): void;
8
+ export declare function processDateValue(attr: Recordable, component: string): void;
9
+ export declare function handleInputNumberValue(component?: ComponentType, val?: any): any;
10
+ /**
11
+ * 时间字段
12
+ */
13
+ export declare const dateItemType: string[];
14
+ export declare const defaultValueComponents: string[];
@@ -0,0 +1,10 @@
1
+ import type { ComputedRef, Ref } from 'vue';
2
+ import type { FormSchema, FormActionType, FormProps } from '../types/form';
3
+ interface UseAutoFocusContext {
4
+ getSchema: ComputedRef<FormSchema[]>;
5
+ getProps: ComputedRef<FormProps>;
6
+ isInitedDefault: Ref<boolean>;
7
+ formElRef: Ref<FormActionType>;
8
+ }
9
+ export declare function useAutoFocus({ getSchema, getProps, formElRef, isInitedDefault }: UseAutoFocusContext): Promise<void>;
10
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { ComponentType } from '../types';
2
+ import type { Component } from 'vue';
3
+ export declare function useComponentRegister(compName: ComponentType, comp: Component): void;
@@ -0,0 +1,10 @@
1
+ import type { FormProps, UseFormReturnType } from '../types/form';
2
+ import type { NamePath } from 'ant-design-vue/lib/form/interface';
3
+ import { Ref, ComputedRef } from 'vue';
4
+ export declare type DynamicProps<T> = {
5
+ [P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
6
+ };
7
+ export declare type ValidateFields = (nameList?: NamePath[]) => Promise<Recordable>;
8
+ declare type Props = Partial<DynamicProps<FormProps>>;
9
+ export declare function useForm(props?: Props): UseFormReturnType;
10
+ export {};
@@ -0,0 +1,8 @@
1
+ export interface FormContextProps {
2
+ resetAction: () => Promise<void>;
3
+ submitAction: () => Promise<void>;
4
+ }
5
+ export declare function createFormContext(context: FormContextProps): {
6
+ state: any;
7
+ };
8
+ export declare function useFormContext(): FormContextProps;
@@ -0,0 +1,28 @@
1
+ import type { ComputedRef, Ref } from 'vue';
2
+ import type { FormProps, FormSchema, FormActionType } from '../types/form';
3
+ import type { NamePath } from 'ant-design-vue/lib/form/interface';
4
+ interface UseFormActionContext {
5
+ emit: EmitType;
6
+ getProps: ComputedRef<FormProps>;
7
+ getSchema: ComputedRef<FormSchema[]>;
8
+ formModel: Recordable;
9
+ defaultValueRef: Ref<Recordable>;
10
+ formElRef: Ref<FormActionType>;
11
+ schemaRef: Ref<FormSchema[]>;
12
+ handleFormValues: Fn;
13
+ }
14
+ export declare function useFormEvents({ emit, getProps, formModel, getSchema, defaultValueRef, formElRef, schemaRef, handleFormValues }: UseFormActionContext): {
15
+ handleSubmit: (e?: Event) => Promise<void>;
16
+ clearValidate: (name?: string | string[]) => Promise<void>;
17
+ validate: (nameList?: NamePath[] | undefined) => Promise<any>;
18
+ validateFields: (nameList?: NamePath[] | undefined) => Promise<any>;
19
+ getFieldsValue: () => Recordable;
20
+ updateSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
21
+ resetSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
22
+ appendSchemaByField: (schema: FormSchema, prefixField?: string, first?: boolean) => Promise<void>;
23
+ removeSchemaByField: (fields: string | string[]) => Promise<void>;
24
+ resetFields: () => Promise<void>;
25
+ setFieldsValue: (values: Recordable) => Promise<void>;
26
+ scrollToField: (name: NamePath, options?: ScrollOptions | undefined) => Promise<void>;
27
+ };
28
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { Ref, ComputedRef } from 'vue';
2
+ import type { FormProps, FormSchema } from '../types/form';
3
+ interface UseFormValuesContext {
4
+ defaultValueRef: Ref<any>;
5
+ getSchema: ComputedRef<FormSchema[]>;
6
+ getProps: ComputedRef<FormProps>;
7
+ formModel: Recordable;
8
+ }
9
+ export declare function useFormValues({ defaultValueRef, getSchema, formModel, getProps }: UseFormValuesContext): {
10
+ handleFormValues: (values: Recordable) => Recordable<any>;
11
+ initDefault: () => void;
12
+ };
13
+ export {};
@@ -0,0 +1,318 @@
1
+ import type { Ref } from 'vue';
2
+ import type { FormProps, FormSchema } from '../types/form';
3
+ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsRef: Ref<FormProps>): import("vue").ComputedRef<{
4
+ labelCol: Partial<import("vue").ExtractPropTypes<{
5
+ span: (NumberConstructor | StringConstructor)[];
6
+ order: (NumberConstructor | StringConstructor)[];
7
+ offset: (NumberConstructor | StringConstructor)[];
8
+ push: (NumberConstructor | StringConstructor)[];
9
+ pull: (NumberConstructor | StringConstructor)[];
10
+ xs: {
11
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
12
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
13
+ };
14
+ sm: {
15
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
16
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
17
+ };
18
+ md: {
19
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
20
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
21
+ };
22
+ lg: {
23
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
24
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
25
+ };
26
+ xl: {
27
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
28
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
29
+ };
30
+ xxl: {
31
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
32
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
33
+ };
34
+ xxxl: {
35
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
36
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
37
+ };
38
+ prefixCls: StringConstructor;
39
+ flex: (NumberConstructor | StringConstructor)[];
40
+ }>> & import("vue").HTMLAttributes;
41
+ wrapperCol: Partial<import("vue").ExtractPropTypes<{
42
+ span: (NumberConstructor | StringConstructor)[];
43
+ order: (NumberConstructor | StringConstructor)[];
44
+ offset: (NumberConstructor | StringConstructor)[];
45
+ push: (NumberConstructor | StringConstructor)[];
46
+ pull: (NumberConstructor | StringConstructor)[];
47
+ xs: {
48
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
49
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
50
+ };
51
+ sm: {
52
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
53
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
54
+ };
55
+ md: {
56
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
57
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
58
+ };
59
+ lg: {
60
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
61
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
62
+ };
63
+ xl: {
64
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
65
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
66
+ };
67
+ xxl: {
68
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
69
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
70
+ };
71
+ xxxl: {
72
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
73
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
74
+ };
75
+ prefixCls: StringConstructor;
76
+ flex: (NumberConstructor | StringConstructor)[];
77
+ }>>;
78
+ } | {
79
+ labelCol: {
80
+ xxxl?: string | number | import("ant-design-vue/lib/grid").ColSize;
81
+ xxl?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
82
+ span: string | number;
83
+ offset: string | number;
84
+ };
85
+ xl?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
86
+ span: string | number;
87
+ offset: string | number;
88
+ };
89
+ lg?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
90
+ span: string | number;
91
+ offset: string | number;
92
+ };
93
+ md?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
94
+ span: string | number;
95
+ offset: string | number;
96
+ };
97
+ sm?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
98
+ span: string | number;
99
+ offset: string | number;
100
+ };
101
+ xs?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
102
+ span: string | number;
103
+ offset: string | number;
104
+ };
105
+ span?: string | number;
106
+ prefixCls?: string;
107
+ push?: string | number;
108
+ order?: string | number;
109
+ offset?: string | number;
110
+ pull?: string | number;
111
+ flex?: string | number;
112
+ innerHTML?: string;
113
+ class?: any;
114
+ style: any;
115
+ accesskey?: string;
116
+ contenteditable?: (boolean | "true" | "false") | "inherit";
117
+ contextmenu?: string;
118
+ dir?: string;
119
+ draggable?: boolean | "true" | "false";
120
+ hidden?: boolean | "true" | "false";
121
+ id?: string;
122
+ lang?: string;
123
+ placeholder?: string;
124
+ spellcheck?: boolean | "true" | "false";
125
+ tabindex?: string | number;
126
+ title?: string;
127
+ translate?: "yes" | "no";
128
+ radiogroup?: string;
129
+ role?: string;
130
+ about?: string;
131
+ datatype?: string;
132
+ inlist?: any;
133
+ prefix?: string;
134
+ property?: string;
135
+ resource?: string;
136
+ typeof?: string;
137
+ vocab?: string;
138
+ autocapitalize?: string;
139
+ autocorrect?: string;
140
+ autosave?: string;
141
+ color?: string;
142
+ itemprop?: string;
143
+ itemscope?: boolean | "true" | "false";
144
+ itemtype?: string;
145
+ itemid?: string;
146
+ itemref?: string;
147
+ results?: string | number;
148
+ security?: string;
149
+ unselectable?: "off" | "on";
150
+ inputmode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
151
+ is?: string;
152
+ 'aria-activedescendant'?: string;
153
+ 'aria-atomic'?: boolean | "true" | "false";
154
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both";
155
+ 'aria-busy'?: boolean | "true" | "false";
156
+ 'aria-checked'?: (boolean | "true" | "false") | "mixed";
157
+ 'aria-colcount'?: string | number;
158
+ 'aria-colindex'?: string | number;
159
+ 'aria-colspan'?: string | number;
160
+ 'aria-controls'?: string;
161
+ 'aria-current'?: "time" | (boolean | "true" | "false") | "date" | "page" | "step" | "location";
162
+ 'aria-describedby'?: string;
163
+ 'aria-details'?: string;
164
+ 'aria-disabled'?: boolean | "true" | "false";
165
+ 'aria-dropeffect'?: "link" | "copy" | "none" | "move" | "execute" | "popup";
166
+ 'aria-errormessage'?: string;
167
+ 'aria-expanded'?: boolean | "true" | "false";
168
+ 'aria-flowto'?: string;
169
+ 'aria-grabbed'?: boolean | "true" | "false";
170
+ 'aria-haspopup'?: "dialog" | "menu" | (boolean | "true" | "false") | "grid" | "listbox" | "tree";
171
+ 'aria-hidden'?: boolean | "true" | "false";
172
+ 'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling";
173
+ 'aria-keyshortcuts'?: string;
174
+ 'aria-label'?: string;
175
+ 'aria-labelledby'?: string;
176
+ 'aria-level'?: string | number;
177
+ 'aria-live'?: "off" | "assertive" | "polite";
178
+ 'aria-modal'?: boolean | "true" | "false";
179
+ 'aria-multiline'?: boolean | "true" | "false";
180
+ 'aria-multiselectable'?: boolean | "true" | "false";
181
+ 'aria-orientation'?: "vertical" | "horizontal";
182
+ 'aria-owns'?: string;
183
+ 'aria-placeholder'?: string;
184
+ 'aria-posinset'?: string | number;
185
+ 'aria-pressed'?: (boolean | "true" | "false") | "mixed";
186
+ 'aria-readonly'?: boolean | "true" | "false";
187
+ 'aria-relevant'?: "all" | "text" | "additions" | "additions text" | "removals";
188
+ 'aria-required'?: boolean | "true" | "false";
189
+ 'aria-roledescription'?: string;
190
+ 'aria-rowcount'?: string | number;
191
+ 'aria-rowindex'?: string | number;
192
+ 'aria-rowspan'?: string | number;
193
+ 'aria-selected'?: boolean | "true" | "false";
194
+ 'aria-setsize'?: string | number;
195
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other";
196
+ 'aria-valuemax'?: string | number;
197
+ 'aria-valuemin'?: string | number;
198
+ 'aria-valuenow'?: string | number;
199
+ 'aria-valuetext'?: string;
200
+ onCopy?: (payload: ClipboardEvent) => void;
201
+ onCut?: (payload: ClipboardEvent) => void;
202
+ onPaste?: (payload: ClipboardEvent) => void;
203
+ onCompositionend?: (payload: CompositionEvent) => void;
204
+ onCompositionstart?: (payload: CompositionEvent) => void;
205
+ onCompositionupdate?: (payload: CompositionEvent) => void;
206
+ onDrag?: (payload: DragEvent) => void;
207
+ onDragend?: (payload: DragEvent) => void;
208
+ onDragenter?: (payload: DragEvent) => void;
209
+ onDragexit?: (payload: DragEvent) => void;
210
+ onDragleave?: (payload: DragEvent) => void;
211
+ onDragover?: (payload: DragEvent) => void;
212
+ onDragstart?: (payload: DragEvent) => void;
213
+ onDrop?: (payload: DragEvent) => void;
214
+ onFocus?: (payload: FocusEvent) => void;
215
+ onFocusin?: (payload: FocusEvent) => void;
216
+ onFocusout?: (payload: FocusEvent) => void;
217
+ onBlur?: (payload: FocusEvent) => void;
218
+ onChange?: (payload: Event) => void;
219
+ onBeforeinput?: (payload: Event) => void;
220
+ onInput?: (payload: Event) => void;
221
+ onReset?: (payload: Event) => void;
222
+ onSubmit?: (payload: Event) => void;
223
+ onInvalid?: (payload: Event) => void;
224
+ onLoad?: (payload: Event) => void;
225
+ onError?: (payload: Event) => void;
226
+ onKeydown?: (payload: KeyboardEvent) => void;
227
+ onKeypress?: (payload: KeyboardEvent) => void;
228
+ onKeyup?: (payload: KeyboardEvent) => void;
229
+ onAuxclick?: (payload: MouseEvent) => void;
230
+ onClick?: (payload: MouseEvent) => void;
231
+ onContextmenu?: (payload: MouseEvent) => void;
232
+ onDblclick?: (payload: MouseEvent) => void;
233
+ onMousedown?: (payload: MouseEvent) => void;
234
+ onMouseenter?: (payload: MouseEvent) => void;
235
+ onMouseleave?: (payload: MouseEvent) => void;
236
+ onMousemove?: (payload: MouseEvent) => void;
237
+ onMouseout?: (payload: MouseEvent) => void;
238
+ onMouseover?: (payload: MouseEvent) => void;
239
+ onMouseup?: (payload: MouseEvent) => void;
240
+ onAbort?: (payload: Event) => void;
241
+ onCanplay?: (payload: Event) => void;
242
+ onCanplaythrough?: (payload: Event) => void;
243
+ onDurationchange?: (payload: Event) => void;
244
+ onEmptied?: (payload: Event) => void;
245
+ onEncrypted?: (payload: Event) => void;
246
+ onEnded?: (payload: Event) => void;
247
+ onLoadeddata?: (payload: Event) => void;
248
+ onLoadedmetadata?: (payload: Event) => void;
249
+ onLoadstart?: (payload: Event) => void;
250
+ onPause?: (payload: Event) => void;
251
+ onPlay?: (payload: Event) => void;
252
+ onPlaying?: (payload: Event) => void;
253
+ onProgress?: (payload: Event) => void;
254
+ onRatechange?: (payload: Event) => void;
255
+ onSeeked?: (payload: Event) => void;
256
+ onSeeking?: (payload: Event) => void;
257
+ onStalled?: (payload: Event) => void;
258
+ onSuspend?: (payload: Event) => void;
259
+ onTimeupdate?: (payload: Event) => void;
260
+ onVolumechange?: (payload: Event) => void;
261
+ onWaiting?: (payload: Event) => void;
262
+ onSelect?: (payload: Event) => void;
263
+ onScroll?: (payload: UIEvent) => void;
264
+ onTouchcancel?: (payload: TouchEvent) => void;
265
+ onTouchend?: (payload: TouchEvent) => void;
266
+ onTouchmove?: (payload: TouchEvent) => void;
267
+ onTouchstart?: (payload: TouchEvent) => void;
268
+ onPointerdown?: (payload: PointerEvent) => void;
269
+ onPointermove?: (payload: PointerEvent) => void;
270
+ onPointerup?: (payload: PointerEvent) => void;
271
+ onPointercancel?: (payload: PointerEvent) => void;
272
+ onPointerenter?: (payload: PointerEvent) => void;
273
+ onPointerleave?: (payload: PointerEvent) => void;
274
+ onPointerover?: (payload: PointerEvent) => void;
275
+ onPointerout?: (payload: PointerEvent) => void;
276
+ onWheel?: (payload: WheelEvent) => void;
277
+ onAnimationstart?: (payload: AnimationEvent) => void;
278
+ onAnimationend?: (payload: AnimationEvent) => void;
279
+ onAnimationiteration?: (payload: AnimationEvent) => void;
280
+ onTransitionend?: (payload: TransitionEvent) => void;
281
+ onTransitionstart?: (payload: TransitionEvent) => void;
282
+ };
283
+ wrapperCol: {
284
+ xxxl?: string | number | import("ant-design-vue/lib/grid").ColSize;
285
+ xxl?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
286
+ span: string | number;
287
+ offset: string | number;
288
+ };
289
+ xl?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
290
+ span: string | number;
291
+ offset: string | number;
292
+ };
293
+ lg?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
294
+ span: string | number;
295
+ offset: string | number;
296
+ };
297
+ md?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
298
+ span: string | number;
299
+ offset: string | number;
300
+ };
301
+ sm?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
302
+ span: string | number;
303
+ offset: string | number;
304
+ };
305
+ xs?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
306
+ span: string | number;
307
+ offset: string | number;
308
+ };
309
+ span?: string | number;
310
+ prefixCls?: string;
311
+ push?: string | number;
312
+ order?: string | number;
313
+ offset?: string | number;
314
+ pull?: string | number;
315
+ flex?: string | number;
316
+ style: any;
317
+ };
318
+ }>;
@@ -0,0 +1,2 @@
1
+ import VueTypes from 'vue-types';
2
+ export declare const basicProps: VueTypes;
@@ -0,0 +1,6 @@
1
+ export interface AdvanceState {
2
+ isAdvanced: boolean;
3
+ hideAdvanceBtn: boolean;
4
+ isLoad: boolean;
5
+ actionSpan: number;
6
+ }
@@ -7,5 +7,5 @@ export * from './src/types/table';
7
7
  export * from './src/types/pagination';
8
8
  export * from './src/types/tableAction';
9
9
  export { useTable } from './src/hooks/useTable';
10
- export type { FormSchema, FormProps } from '../form';
10
+ export type { FormSchema, FormProps } from '../form/src/types/form';
11
11
  export type { EditRecordRow } from './src/components/editable';
@@ -1,5 +1,5 @@
1
1
  import type { BasicTableProps, TableActionType } from '../types/table';
2
- import type { FormActionType } from '../../../Form';
2
+ import type { FormActionType } from '../../../Form/src/types/form';
3
3
  import type { ComputedRef, Ref } from 'vue';
4
4
  declare type DynamicProps<T> = {
5
5
  [P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
@@ -1,8 +1,7 @@
1
1
  import type { ComputedRef, Slots } from 'vue';
2
2
  import type { BasicTableProps, FetchParams } from '../types/table';
3
- import type { FormProps } from '../../../Form';
4
3
  export declare function useTableForm(propsRef: ComputedRef<BasicTableProps>, slots: Slots, fetch: (opt?: FetchParams | undefined) => Promise<void>, getLoading: ComputedRef<boolean | undefined>): {
5
- getFormProps: ComputedRef<Partial<FormProps>>;
4
+ getFormProps: ComputedRef<FormProps>;
6
5
  replaceFormSlotKey: (key: string) => string;
7
6
  getFormSlotKeys: ComputedRef<string[]>;
8
7
  handleSearchInfoChange: (info: Recordable) => void;
@@ -70,19 +70,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
70
70
  helpMessage: import("@shy-plugins/utils").BuildPropType<PropType<string | string[]>, unknown, unknown>;
71
71
  search: boolean;
72
72
  selectedKeys: KeyType[];
73
- renderIcon: (params: Recordable<any>) => string;
74
- toolbar: boolean;
73
+ fieldNames: undefined;
75
74
  searchValue: string;
75
+ treeData: import("ant-design-vue/es/vc-tree/interface").DataNode[];
76
76
  checkStrictly: boolean;
77
- clickRowToExpand: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
78
77
  checkable: boolean;
79
- defaultExpandLevel: import("@shy-plugins/utils").BuildPropType<PropType<string | number>, unknown, unknown>;
80
78
  defaultExpandAll: boolean;
81
- fieldNames: undefined;
82
- treeData: import("ant-design-vue/es/vc-tree/interface").DataNode[];
83
- actionList: import("./types/tree").TreeActionItem[];
84
79
  expandedKeys: KeyType[];
85
80
  checkedKeys: CheckKeys;
81
+ renderIcon: (params: Recordable<any>) => string;
82
+ toolbar: boolean;
83
+ clickRowToExpand: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
84
+ defaultExpandLevel: import("@shy-plugins/utils").BuildPropType<PropType<string | number>, unknown, unknown>;
85
+ actionList: import("./types/tree").TreeActionItem[];
86
86
  beforeRightClick: (...arg: any) => import("./types/tree").ContextMenuOptions | import("./types/tree").ContextMenuItem[];
87
87
  rightMenuList: import("./types/tree").ContextMenuItem[];
88
88
  filterFn: (searchValue: any, node: TreeItem, fieldNames: FieldNames) => boolean;