@aplus-frontend/ui 0.0.1-beta.1 → 0.0.1-beta.2

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 (179) hide show
  1. package/es/src/base-button/button.vue.d.ts +5 -5
  2. package/es/src/base-button/index.d.ts +45 -40
  3. package/es/src/base-button/modal-button.vue.d.ts +8 -6
  4. package/es/src/base-button/pop-confirm-button.vue.d.ts +4 -3
  5. package/es/src/basic/arrow.vue.d.ts +4 -3
  6. package/es/src/basic/help.vue.d.ts +5 -5
  7. package/es/src/basic/index.d.ts +196 -70
  8. package/es/src/basic/title.vue.d.ts +5 -4
  9. package/es/src/button/index.d.ts +20 -15
  10. package/es/src/config-provider/config-provider-props.d.ts +21 -15
  11. package/es/src/config-provider/config-provider.d.ts +78 -67
  12. package/es/src/config-provider/hooks/use-global-config.d.ts +41 -32
  13. package/es/src/config-provider/hooks/use-namespace.d.ts +3 -3
  14. package/es/src/config-provider/index.d.ts +504 -155
  15. package/es/src/constants/component-setting.d.ts +2 -2
  16. package/es/src/container/collapse/header.vue.d.ts +3 -3
  17. package/es/src/container/collapse/index.vue.d.ts +3 -3
  18. package/es/src/container/index.d.ts +118 -37
  19. package/es/src/container/scroll-container.vue.d.ts +5 -4
  20. package/es/src/count-down/button.vue.d.ts +5 -4
  21. package/es/src/count-down/index.d.ts +88 -41
  22. package/es/src/count-down/input.vue.d.ts +5 -4
  23. package/es/src/cropper/cropper-avatar.vue.d.ts +6 -5
  24. package/es/src/cropper/cropper-image.vue.d.ts +6 -6
  25. package/es/src/cropper/cropper-modal.vue.d.ts +4 -4
  26. package/es/src/cropper/index.d.ts +307 -92
  27. package/es/src/description/description.vue.d.ts +3 -3
  28. package/es/src/description/index.d.ts +167 -46
  29. package/es/src/dropdown/dropdown.vue.d.ts +6 -5
  30. package/es/src/dropdown/index.d.ts +35 -28
  31. package/es/src/hooks/useMessage.d.ts +9 -7
  32. package/es/src/icon/icon.vue.d.ts +5 -4
  33. package/es/src/icon/index.d.ts +175 -52
  34. package/es/src/icon/svg-icon.vue.d.ts +5 -4
  35. package/es/src/icon-picker/icon-picker.vue.d.ts +6 -5
  36. package/es/src/icon-picker/index.d.ts +155 -46
  37. package/es/src/modal/basic.vue.d.ts +68 -62
  38. package/es/src/modal/components/modal-close.vue.d.ts +6 -5
  39. package/es/src/modal/components/modal-footer.vue.d.ts +67 -62
  40. package/es/src/modal/components/modal-header.vue.d.ts +4 -3
  41. package/es/src/modal/components/modal-wrapper.vue.d.ts +4 -3
  42. package/es/src/modal/components/modal.d.ts +67 -61
  43. package/es/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
  44. package/es/src/modal/index.d.ts +138 -128
  45. package/es/src/modal/props.d.ts +19 -16
  46. package/es/src/pro-form/component-map.d.ts +2 -2
  47. package/es/src/pro-form/components/api-cascader.vue.d.ts +6 -5
  48. package/es/src/pro-form/components/api-radio-group.vue.d.ts +6 -5
  49. package/es/src/pro-form/components/api-select.vue.d.ts +6 -5
  50. package/es/src/pro-form/components/api-transfer.vue.d.ts +6 -5
  51. package/es/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
  52. package/es/src/pro-form/components/api-tree.vue.d.ts +6 -5
  53. package/es/src/pro-form/components/form-action.vue.d.ts +6 -5
  54. package/es/src/pro-form/components/form-item.vue.d.ts +3 -3
  55. package/es/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
  56. package/es/src/pro-form/hooks/use-advanced.d.ts +2 -2
  57. package/es/src/pro-form/hooks/use-break-point.d.ts +4 -3
  58. package/es/src/pro-form/hooks/use-label-width.d.ts +42 -41
  59. package/es/src/pro-form/pro-form.vue.d.ts +15 -12
  60. package/es/src/pro-table/component-map.d.ts +2 -2
  61. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
  62. package/es/src/pro-table/components/editable/cell-component.d.ts +2 -1
  63. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
  64. package/es/src/pro-table/components/editable/index.d.ts +2 -2
  65. package/es/src/pro-table/components/header-cell.vue.d.ts +3 -3
  66. package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
  67. package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
  68. package/es/src/pro-table/components/settings/index.vue.d.ts +4 -4
  69. package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
  70. package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
  71. package/es/src/pro-table/components/table-action.vue.d.ts +3 -3
  72. package/es/src/pro-table/components/table-footer.vue.d.ts +7 -5
  73. package/es/src/pro-table/components/table-header.vue.d.ts +4 -4
  74. package/es/src/pro-table/components/table-image.vue.d.ts +5 -4
  75. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
  76. package/es/src/pro-table/components/table-title.vue.d.ts +3 -3
  77. package/es/src/pro-table/hooks/use-data-source.d.ts +2 -1
  78. package/es/src/pro-table/pro-table.vue.d.ts +42 -36
  79. package/es/src/prompt/dialog.vue.d.ts +4 -3
  80. package/es/src/prompt/index.d.ts +2 -2
  81. package/es/src/scroll-bar/bar-item.d.ts +4 -3
  82. package/es/src/scroll-bar/index.d.ts +52 -46
  83. package/es/src/scroll-bar/scroll-bar.vue.d.ts +8 -6
  84. package/es/src/strength-meter/index.d.ts +26 -21
  85. package/es/src/strength-meter/strength-meter.vue.d.ts +6 -5
  86. package/es/src/transition/collapse-transition.vue.d.ts +2 -1
  87. package/es/src/transition/create-transition.d.ts +5 -5
  88. package/es/src/transition/index.d.ts +97 -96
  89. package/es/src/utils/slot.d.ts +2 -2
  90. package/lib/src/base-button/button.vue.d.ts +5 -5
  91. package/lib/src/base-button/index.d.ts +45 -40
  92. package/lib/src/base-button/modal-button.vue.d.ts +8 -6
  93. package/lib/src/base-button/pop-confirm-button.vue.d.ts +4 -3
  94. package/lib/src/basic/arrow.vue.d.ts +4 -3
  95. package/lib/src/basic/help.vue.d.ts +5 -5
  96. package/lib/src/basic/index.d.ts +196 -70
  97. package/lib/src/basic/title.vue.d.ts +5 -4
  98. package/lib/src/button/index.d.ts +20 -15
  99. package/lib/src/config-provider/config-provider-props.d.ts +21 -15
  100. package/lib/src/config-provider/config-provider.d.ts +78 -67
  101. package/lib/src/config-provider/hooks/use-global-config.d.ts +41 -32
  102. package/lib/src/config-provider/hooks/use-namespace.d.ts +3 -3
  103. package/lib/src/config-provider/index.d.ts +504 -155
  104. package/lib/src/constants/component-setting.d.ts +2 -2
  105. package/lib/src/container/collapse/header.vue.d.ts +3 -3
  106. package/lib/src/container/collapse/index.vue.d.ts +3 -3
  107. package/lib/src/container/index.d.ts +118 -37
  108. package/lib/src/container/scroll-container.vue.d.ts +5 -4
  109. package/lib/src/count-down/button.vue.d.ts +5 -4
  110. package/lib/src/count-down/index.d.ts +88 -41
  111. package/lib/src/count-down/input.vue.d.ts +5 -4
  112. package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -5
  113. package/lib/src/cropper/cropper-image.vue.d.ts +6 -6
  114. package/lib/src/cropper/cropper-modal.vue.d.ts +4 -4
  115. package/lib/src/cropper/index.d.ts +307 -92
  116. package/lib/src/description/description.vue.d.ts +3 -3
  117. package/lib/src/description/index.d.ts +167 -46
  118. package/lib/src/dropdown/dropdown.vue.d.ts +6 -5
  119. package/lib/src/dropdown/index.d.ts +35 -28
  120. package/lib/src/hooks/useMessage.d.ts +9 -7
  121. package/lib/src/icon/icon.vue.d.ts +5 -4
  122. package/lib/src/icon/index.d.ts +175 -52
  123. package/lib/src/icon/svg-icon.vue.d.ts +5 -4
  124. package/lib/src/icon-picker/icon-picker.vue.d.ts +6 -5
  125. package/lib/src/icon-picker/index.d.ts +155 -46
  126. package/lib/src/modal/basic.vue.d.ts +68 -62
  127. package/lib/src/modal/components/modal-close.vue.d.ts +6 -5
  128. package/lib/src/modal/components/modal-footer.vue.d.ts +67 -62
  129. package/lib/src/modal/components/modal-header.vue.d.ts +4 -3
  130. package/lib/src/modal/components/modal-wrapper.vue.d.ts +4 -3
  131. package/lib/src/modal/components/modal.d.ts +67 -61
  132. package/lib/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
  133. package/lib/src/modal/index.d.ts +138 -128
  134. package/lib/src/modal/props.d.ts +19 -16
  135. package/lib/src/pro-form/component-map.d.ts +2 -2
  136. package/lib/src/pro-form/components/api-cascader.vue.d.ts +6 -5
  137. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +6 -5
  138. package/lib/src/pro-form/components/api-select.vue.d.ts +6 -5
  139. package/lib/src/pro-form/components/api-transfer.vue.d.ts +6 -5
  140. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
  141. package/lib/src/pro-form/components/api-tree.vue.d.ts +6 -5
  142. package/lib/src/pro-form/components/form-action.vue.d.ts +6 -5
  143. package/lib/src/pro-form/components/form-item.vue.d.ts +3 -3
  144. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
  145. package/lib/src/pro-form/hooks/use-advanced.d.ts +2 -2
  146. package/lib/src/pro-form/hooks/use-break-point.d.ts +4 -3
  147. package/lib/src/pro-form/hooks/use-label-width.d.ts +42 -41
  148. package/lib/src/pro-form/pro-form.vue.d.ts +15 -12
  149. package/lib/src/pro-table/component-map.d.ts +2 -2
  150. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
  151. package/lib/src/pro-table/components/editable/cell-component.d.ts +2 -1
  152. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
  153. package/lib/src/pro-table/components/editable/index.d.ts +2 -2
  154. package/lib/src/pro-table/components/header-cell.vue.d.ts +3 -3
  155. package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
  156. package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
  157. package/lib/src/pro-table/components/settings/index.vue.d.ts +4 -4
  158. package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
  159. package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
  160. package/lib/src/pro-table/components/table-action.vue.d.ts +3 -3
  161. package/lib/src/pro-table/components/table-footer.vue.d.ts +7 -5
  162. package/lib/src/pro-table/components/table-header.vue.d.ts +4 -4
  163. package/lib/src/pro-table/components/table-image.vue.d.ts +5 -4
  164. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
  165. package/lib/src/pro-table/components/table-title.vue.d.ts +3 -3
  166. package/lib/src/pro-table/hooks/use-data-source.d.ts +2 -1
  167. package/lib/src/pro-table/pro-table.vue.d.ts +42 -36
  168. package/lib/src/prompt/dialog.vue.d.ts +4 -3
  169. package/lib/src/prompt/index.d.ts +2 -2
  170. package/lib/src/scroll-bar/bar-item.d.ts +4 -3
  171. package/lib/src/scroll-bar/index.d.ts +52 -46
  172. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +8 -6
  173. package/lib/src/strength-meter/index.d.ts +26 -21
  174. package/lib/src/strength-meter/strength-meter.vue.d.ts +6 -5
  175. package/lib/src/transition/collapse-transition.vue.d.ts +2 -1
  176. package/lib/src/transition/create-transition.d.ts +5 -5
  177. package/lib/src/transition/index.d.ts +97 -96
  178. package/lib/src/utils/slot.d.ts +2 -2
  179. package/package.json +2 -2
@@ -1,8 +1,11 @@
1
- import { ProFormProps, FormSchemaInner as FormSchema } from './types/form';
1
+ import { ProFormProps, FormSchemaInner as FormSchema, FormSchema, FieldMapToTime } from './types/form';
2
2
  import { Recordable } from '../type';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
+ import { NamePath } from 'ant-design-vue/lib/form/interface';
5
+ import { ColEx } from './types';
3
6
 
4
7
  declare function setProps(formProps: Partial<ProFormProps>): Promise<void>;
5
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProFormProps>, {
8
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProFormProps>, {
6
9
  model: () => {};
7
10
  labelWidth: number;
8
11
  fieldMapToTime: () => never[];
@@ -29,17 +32,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
29
32
  removeSchemaByField: (fields: string | string[]) => Promise<void>;
30
33
  appendSchemaByField: (schema: FormSchema | FormSchema[], prefixField?: string | undefined, first?: boolean) => Promise<void>;
31
34
  clearValidate: (name?: string | string[] | undefined) => Promise<void>;
32
- validateFields: (nameList?: import('ant-design-vue/lib/form/interface').NamePath[] | undefined) => Promise<any>;
33
- validate: (nameList?: false | import('ant-design-vue/lib/form/interface').NamePath[] | undefined) => Promise<any>;
35
+ validateFields: (nameList?: NamePath[] | undefined) => Promise<any>;
36
+ validate: (nameList?: false | NamePath[] | undefined) => Promise<any>;
34
37
  submit: (e?: Event | undefined) => Promise<void>;
35
- scrollToField: (name: import('ant-design-vue/lib/form/interface').NamePath, options?: ScrollOptions | undefined) => Promise<void>;
36
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
+ scrollToField: (name: NamePath, options?: ScrollOptions | undefined) => Promise<void>;
39
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
37
40
  reset: (...args: any[]) => void;
38
41
  submit: (...args: any[]) => void;
39
42
  register: (...args: any[]) => void;
40
43
  "advanced-change": (...args: any[]) => void;
41
44
  "field-value-change": (...args: any[]) => void;
42
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProFormProps>, {
45
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProFormProps>, {
43
46
  model: () => {};
44
47
  labelWidth: number;
45
48
  fieldMapToTime: () => never[];
@@ -72,9 +75,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
72
75
  showActionButtonGroup: boolean;
73
76
  showResetButton: boolean;
74
77
  showSubmitButton: boolean;
75
- schemas: import('./types/form').FormSchema[];
76
- emptySpan: number | Partial<import('./types').ColEx>;
77
- fieldMapToTime: import('./types/form').FieldMapToTime;
78
+ schemas: FormSchema[];
79
+ emptySpan: number | Partial< ColEx>;
80
+ fieldMapToTime: FieldMapToTime;
78
81
  autoSubmitOnEnter: boolean;
79
82
  autoAdvancedLine: number;
80
83
  alwaysShowLines: number;
@@ -87,9 +90,9 @@ export default _default;
87
90
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
88
91
  type __VLS_TypePropsToRuntimeProps<T> = {
89
92
  [K in keyof T]-?: {} extends Pick<T, K> ? {
90
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
93
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
91
94
  } : {
92
- type: import('vue').PropType<T[K]>;
95
+ type: PropType<T[K]>;
93
96
  required: true;
94
97
  };
95
98
  };
@@ -1,7 +1,7 @@
1
- import { Component } from 'vue';
1
+ import { Component, ComputedOptions, MethodOptions } from 'vue';
2
2
 
3
3
  export type ComponentType = 'Input' | 'InputNumber' | 'Select' | 'ApiSelect' | 'AutoComplete' | 'ApiTreeSelect' | 'Checkbox' | 'Switch' | 'DatePicker' | 'TimePicker' | 'RadioGroup' | 'RadioButtonGroup' | 'ApiRadioGroup';
4
- declare const componentMap: Map<ComponentType, Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>>;
4
+ declare const componentMap: Map<ComponentType, Component<any, any, any, ComputedOptions, MethodOptions, {}, any>>;
5
5
  export declare function add(compName: ComponentType, component: Component): void;
6
6
  export declare function del(compName: ComponentType): void;
7
7
  export { componentMap };
@@ -1,9 +1,10 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
2
3
  title: {
3
4
  type: StringConstructor;
4
5
  default: string;
5
6
  };
6
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
7
8
  title: {
8
9
  type: StringConstructor;
9
10
  default: string;
@@ -1,5 +1,6 @@
1
1
  import { ComponentType } from '../../component-map';
2
2
  import { Fn, Recordable } from '../../../type';
3
+ import { VNode, RendererNode, RendererElement } from 'vue';
3
4
 
4
5
  export interface ComponentProps {
5
6
  component: ComponentType;
@@ -8,6 +9,6 @@ export interface ComponentProps {
8
9
  ruleMessage: string;
9
10
  getPopupContainer?: Fn;
10
11
  }
11
- export declare const CellComponent: ({ component, rule, ruleMessage, popoverVisible, getPopupContainer }: ComponentProps, { attrs }: Recordable) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
12
+ export declare const CellComponent: ({ component, rule, ruleMessage, popoverVisible, getPopupContainer }: ComponentProps, { attrs }: Recordable) => VNode<RendererNode, RendererElement, {
12
13
  [key: string]: any;
13
14
  }>;
@@ -1,8 +1,9 @@
1
- import { CSSProperties, PropType } from 'vue';
1
+ import { CSSProperties, PropType, DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { BasicColumn } from '../../types/table';
3
3
  import { Recordable } from '../../../type';
4
+ import { ComponentType } from '../../component-map';
4
5
 
5
- declare const _default: import('vue').DefineComponent<{
6
+ declare const _default: DefineComponent<{
6
7
  value: {
7
8
  type: PropType<string | number | boolean | Record<string, any>>;
8
9
  default: string;
@@ -19,9 +20,9 @@ declare const _default: import('vue').DefineComponent<{
19
20
  required: true;
20
21
  };
21
22
  }, {
22
- isEdit: import('vue').Ref<boolean>;
23
+ isEdit: Ref<boolean>;
23
24
  ns: {
24
- namespace: import('vue').ComputedRef<string>;
25
+ namespace: ComputedRef<string>;
25
26
  b: (blockSuffix?: string) => string;
26
27
  e: (element?: string | undefined) => string;
27
28
  m: (modifier?: string | undefined) => string;
@@ -39,27 +40,27 @@ declare const _default: import('vue').DefineComponent<{
39
40
  cssVarBlockName: (name: string) => string;
40
41
  };
41
42
  handleEdit: (e: Event) => void;
42
- currentValueRef: import('vue').Ref<any>;
43
+ currentValueRef: Ref<any>;
43
44
  handleSubmit: (needEmit?: boolean, valid?: boolean) => Promise<false | undefined>;
44
45
  handleChange: (e: any) => Promise<void>;
45
46
  handleCancel: () => void;
46
- elRef: import('vue').Ref<any>;
47
- getComponent: import('vue').ComputedRef<import('../../component-map').ComponentType>;
48
- getRule: import('vue').ComputedRef<boolean | ((text: string, record: Recordable<any>) => Promise<string>) | undefined>;
47
+ elRef: Ref<any>;
48
+ getComponent: ComputedRef<ComponentType>;
49
+ getRule: ComputedRef<boolean | ((text: string, record: Recordable<any>) => Promise<string>) | undefined>;
49
50
  onClickOutside: () => void;
50
- ruleMessage: import('vue').Ref<string>;
51
- getRuleVisible: import('vue').ComputedRef<boolean | "">;
52
- getComponentProps: import('vue').ComputedRef<any>;
51
+ ruleMessage: Ref<string>;
52
+ getRuleVisible: ComputedRef<boolean | "">;
53
+ getComponentProps: ComputedRef<any>;
53
54
  handleOptionsChange: (options: any) => void;
54
- getWrapperStyle: import('vue').ComputedRef<CSSProperties>;
55
- getWrapperClass: import('vue').ComputedRef<string>;
56
- getRowEditable: import('vue').ComputedRef<boolean>;
57
- getValues: import('vue').ComputedRef<any>;
55
+ getWrapperStyle: ComputedRef<CSSProperties>;
56
+ getWrapperClass: ComputedRef<string>;
57
+ getRowEditable: ComputedRef<boolean>;
58
+ getValues: ComputedRef<any>;
58
59
  handleEnter: () => Promise<void>;
59
60
  handleSubmitClick: () => void;
60
- spinning: import('vue').Ref<boolean>;
61
- getDisable: import('vue').ComputedRef<boolean>;
62
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
61
+ spinning: Ref<boolean>;
62
+ getDisable: ComputedRef<boolean>;
63
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
63
64
  value: {
64
65
  type: PropType<string | number | boolean | Record<string, any>>;
65
66
  default: string;
@@ -1,5 +1,5 @@
1
1
  import { BasicColumn } from '../../types/table';
2
- import { Ref } from 'vue';
2
+ import { Ref, VNode, RendererNode, RendererElement } from 'vue';
3
3
  import { Fn, Recordable } from '../../../type';
4
4
 
5
5
  interface Params {
@@ -7,7 +7,7 @@ interface Params {
7
7
  record: Recordable;
8
8
  index: number;
9
9
  }
10
- export declare function renderEditCell(column: BasicColumn): ({ text: value, record, index }: Params) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
10
+ export declare function renderEditCell(column: BasicColumn): ({ text: value, record, index }: Params) => VNode<RendererNode, RendererElement, {
11
11
  [key: string]: any;
12
12
  }>;
13
13
  export type EditRecordRow<T = Recordable> = Partial<{
@@ -1,12 +1,12 @@
1
- import { PropType } from 'vue';
1
+ import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { ColumnType } from 'ant-design-vue/lib/table/interface';
3
3
 
4
- declare const _default: import('vue').DefineComponent<{
4
+ declare const _default: DefineComponent<{
5
5
  column: {
6
6
  type: PropType<ColumnType<any>>;
7
7
  default: () => {};
8
8
  };
9
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
10
10
  column: {
11
11
  type: PropType<ColumnType<any>>;
12
12
  default: () => {};
@@ -1,7 +1,8 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
1
2
 
2
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3
4
  "columns-change": (...args: any[]) => void;
4
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
5
+ }, string, PublicProps, Readonly< ExtractPropTypes<{}>> & {
5
6
  "onColumns-change"?: ((...args: any[]) => any) | undefined;
6
7
  }, {}, {}>;
7
8
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
2
3
  export default _default;
@@ -1,14 +1,14 @@
1
- import { PropType } from 'vue';
1
+ import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { TableSetting } from '../../types/table';
3
3
 
4
- declare const _default: import('vue').DefineComponent<{
4
+ declare const _default: DefineComponent<{
5
5
  setting: {
6
6
  type: PropType<TableSetting>;
7
7
  default: () => {};
8
8
  };
9
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
10
  "columns-change": (...args: any[]) => void;
11
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
12
12
  setting: {
13
13
  type: PropType<TableSetting>;
14
14
  default: () => {};
@@ -1,2 +1,3 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
2
3
  export default _default;
@@ -1,7 +1,7 @@
1
- import { PropType } from 'vue';
1
+ import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { ActionItem } from '../types/table-action';
3
3
 
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
5
5
  actions: {
6
6
  type: PropType<ActionItem[]>;
7
7
  default: null;
@@ -21,7 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
21
21
  type: BooleanConstructor;
22
22
  default: boolean;
23
23
  };
24
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
24
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
25
25
  actions: {
26
26
  type: PropType<ActionItem[]>;
27
27
  default: null;
@@ -1,7 +1,9 @@
1
1
  import { BasicTableProps } from '../types/table';
2
2
  import { Fn, Recordable } from '../../type';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
+ import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
3
5
 
4
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
7
  summaryFunc?: Fn<any, any> | null | undefined;
6
8
  summaryData?: Recordable<any>[] | null | undefined;
7
9
  scroll?: BasicTableProps['scroll'];
@@ -10,7 +12,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
10
12
  summaryFunc: null;
11
13
  summaryData: null;
12
14
  rowKey: string;
13
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
16
  summaryFunc?: Fn<any, any> | null | undefined;
15
17
  summaryData?: Recordable<any>[] | null | undefined;
16
18
  scroll?: BasicTableProps['scroll'];
@@ -20,7 +22,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
20
22
  summaryData: null;
21
23
  rowKey: string;
22
24
  }>>>, {
23
- rowKey: string | import('ant-design-vue/es/vc-table/interface').GetRowKey<any>;
25
+ rowKey: string | GetRowKey<any>;
24
26
  summaryFunc: Fn | null;
25
27
  summaryData: Recordable[] | null;
26
28
  }, {}>;
@@ -28,9 +30,9 @@ export default _default;
28
30
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
31
  type __VLS_TypePropsToRuntimeProps<T> = {
30
32
  [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
32
34
  } : {
33
- type: import('vue').PropType<T[K]>;
35
+ type: PropType<T[K]>;
34
36
  required: true;
35
37
  };
36
38
  };
@@ -1,7 +1,7 @@
1
1
  import { TableSetting } from '../types/table';
2
- import { PropType } from 'vue';
2
+ import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
3
3
 
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
5
5
  title: {
6
6
  type: PropType<string | ((data: any) => string)>;
7
7
  };
@@ -26,9 +26,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
26
26
  type: BooleanConstructor;
27
27
  default: boolean;
28
28
  };
29
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
30
30
  "columns-change": (...args: any[]) => void;
31
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
31
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
32
32
  title: {
33
33
  type: PropType<string | ((data: any) => string)>;
34
34
  };
@@ -1,3 +1,4 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
1
2
 
2
3
  type TableImageProps = {
3
4
  imgList?: string[];
@@ -8,13 +9,13 @@ type TableImageProps = {
8
9
  srcPrefix?: string;
9
10
  fallback?: string;
10
11
  };
11
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableImageProps>, {
12
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableImageProps>, {
12
13
  size: number;
13
14
  showBadge: boolean;
14
15
  margin: number;
15
16
  srcPrefix: string;
16
17
  fallback: string;
17
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableImageProps>, {
18
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableImageProps>, {
18
19
  size: number;
19
20
  showBadge: boolean;
20
21
  margin: number;
@@ -31,9 +32,9 @@ export default _default;
31
32
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
33
  type __VLS_TypePropsToRuntimeProps<T> = {
33
34
  [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
35
36
  } : {
36
- type: import('vue').PropType<T[K]>;
37
+ type: PropType<T[K]>;
37
38
  required: true;
38
39
  };
39
40
  };
@@ -1,11 +1,12 @@
1
1
  import { TableActionType } from '../types/table';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
3
 
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
5
  count?: number | undefined;
5
6
  clearSelectedRowKeys: TableActionType['clearSelectedRowKeys'];
6
7
  }>, {
7
8
  count: () => 0;
8
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
10
  count?: number | undefined;
10
11
  clearSelectedRowKeys: TableActionType['clearSelectedRowKeys'];
11
12
  }>, {
@@ -17,9 +18,9 @@ export default _default;
17
18
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
19
  type __VLS_TypePropsToRuntimeProps<T> = {
19
20
  [K in keyof T]-?: {} extends Pick<T, K> ? {
20
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
21
22
  } : {
22
- type: import('vue').PropType<T[K]>;
23
+ type: PropType<T[K]>;
23
24
  required: true;
24
25
  };
25
26
  };
@@ -1,6 +1,6 @@
1
- import { PropType } from 'vue';
1
+ import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
 
3
- declare const _default: import('vue').DefineComponent<{
3
+ declare const _default: DefineComponent<{
4
4
  title: {
5
5
  type: PropType<string | ((data: any) => string)>;
6
6
  };
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<{
10
10
  helpMessage: {
11
11
  type: PropType<string | string[]>;
12
12
  };
13
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
14
14
  title: {
15
15
  type: PropType<string | ((data: any) => string)>;
16
16
  };
@@ -3,6 +3,7 @@ import { PaginationProps } from '../types/pagination';
3
3
  import { ComputedRef, Ref } from 'vue';
4
4
  import { Key } from 'ant-design-vue/lib/table/interface';
5
5
  import { EmitType, Recordable } from '../../type';
6
+ import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
6
7
 
7
8
  interface ActionType {
8
9
  getPaginationInfo: ComputedRef<boolean | PaginationProps>;
@@ -16,7 +17,7 @@ export declare function useDataSource(propsRef: ComputedRef<BasicTableProps>, {
16
17
  getDataSourceRef: ComputedRef<Recordable<any>[]>;
17
18
  getDataSource: <T = Recordable<any>>() => T[];
18
19
  getRawDataSource: <T_1 = Recordable<any>>() => T_1;
19
- getRowKey: ComputedRef<string | import('ant-design-vue/es/vc-table/interface').GetRowKey<any> | undefined>;
20
+ getRowKey: ComputedRef<string | GetRowKey<any> | undefined>;
20
21
  setTableData: <T_2 = Recordable<any>>(values: T_2[]) => void;
21
22
  getAutoCreateKey: ComputedRef<boolean | undefined>;
22
23
  fetch: (opt?: FetchParams) => Promise<any>;
@@ -1,8 +1,14 @@
1
- import { BasicTableProps, SizeType } from './types/table';
1
+ import { BasicTableProps, SizeType, FetchParams, GetColumnsParams, BasicColumn, TableRowSelection, TableSetting } from './types/table';
2
2
  import { ProTableProps } from './interface';
3
+ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
+ import { Recordable } from '../type';
5
+ import { Key } from 'ant-design-vue/es/table/interface';
6
+ import { PaginationProps } from '.';
7
+ import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
8
+ import { TableColumnType } from 'ant-design-vue';
3
9
 
4
10
  type ProTableSlots = 'emptyText' | 'expandIcon' | 'title' | 'footer' | 'summary' | 'bodyCell' | 'expandColumnTitle' | 'headerCell' | 'customFilterIcon' | 'customFilterDropdown';
5
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
11
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
6
12
  clickToRowSelect: boolean;
7
13
  tableSetting: () => {};
8
14
  autoCreateKey: boolean;
@@ -19,43 +25,43 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
19
25
  resizeHeightOffset: number;
20
26
  rowKey: string;
21
27
  }>, {
22
- reload: (opt?: import('./types/table').FetchParams | undefined) => Promise<import('../type').Recordable<any>[] | undefined>;
23
- setSelectedRows: (rows: import('../type').Recordable<any>[]) => void;
24
- getSelectRows: <T = import('../type').Recordable<any>>() => T[];
28
+ reload: (opt?: FetchParams | undefined) => Promise< Recordable<any>[] | undefined>;
29
+ setSelectedRows: (rows: Recordable<any>[]) => void;
30
+ getSelectRows: <T = Recordable<any>>() => T[];
25
31
  clearSelectedRowKeys: () => void;
26
32
  expandAll: () => void;
27
33
  collapseAll: () => void;
28
- expandRows: (keyValues: import('ant-design-vue/es/table/interface').Key[]) => void;
29
- collapseRows: (keyValues: import('ant-design-vue/es/table/interface').Key[]) => void;
34
+ expandRows: (keyValues: Key[]) => void;
35
+ collapseRows: (keyValues: Key[]) => void;
30
36
  scrollTo: (pos: string) => void;
31
- getSelectRowKeys: () => import('ant-design-vue/es/table/interface').Key[];
32
- deleteSelectRowByKey: (keyValue: import('ant-design-vue/es/table/interface').Key) => void;
33
- setPagination: (info: Partial<import('.').PaginationProps>) => void;
34
- setTableData: <T_1 = import('../type').Recordable<any>>(values: T_1[]) => void;
35
- updateTableDataRecord: (keyValue: import('ant-design-vue/es/table/interface').Key, record: import('../type').Recordable<any>) => void | import('../type').Recordable<any>;
36
- deleteTableDataRecord: (keyValues: import('ant-design-vue/es/table/interface').Key | import('ant-design-vue/es/table/interface').Key[]) => void;
37
- insertTableDataRecord: (record: import('../type').Recordable<any> | import('../type').Recordable<any>[], index?: number | undefined) => void | import('../type').Recordable<any>[];
38
- findTableDataRecord: (keyValue: import('ant-design-vue/es/table/interface').Key) => void | import('../type').Recordable<any>;
39
- getColumns: (opt?: import('./types/table').GetColumnsParams | undefined) => import('./types/table').BasicColumn[];
40
- setColumns: (columns: string[] | import('./types/table').BasicColumn[]) => void;
41
- getDataSource: <T_2 = import('../type').Recordable<any>>() => T_2[];
42
- getRawDataSource: <T_3 = import('../type').Recordable<any>>() => T_3;
37
+ getSelectRowKeys: () => Key[];
38
+ deleteSelectRowByKey: (keyValue: Key) => void;
39
+ setPagination: (info: Partial< PaginationProps>) => void;
40
+ setTableData: <T_1 = Recordable<any>>(values: T_1[]) => void;
41
+ updateTableDataRecord: (keyValue: Key, record: Recordable<any>) => void | Recordable<any>;
42
+ deleteTableDataRecord: (keyValues: Key | Key[]) => void;
43
+ insertTableDataRecord: (record: Recordable<any> | Recordable<any>[], index?: number | undefined) => void | Recordable<any>[];
44
+ findTableDataRecord: (keyValue: Key) => void | Recordable<any>;
45
+ getColumns: (opt?: GetColumnsParams | undefined) => BasicColumn[];
46
+ setColumns: (columns: string[] | BasicColumn[]) => void;
47
+ getDataSource: <T_2 = Recordable<any>>() => T_2[];
48
+ getRawDataSource: <T_3 = Recordable<any>>() => T_3;
43
49
  setLoading: (loading: boolean) => void;
44
50
  setProps: (props: Partial<BasicTableProps<any>>) => void;
45
51
  redoHeight: () => void;
46
- setSelectedRowKeys: (keyValues: import('ant-design-vue/es/table/interface').Key[]) => void;
47
- getPaginationRef: () => boolean | import('.').PaginationProps;
52
+ setSelectedRowKeys: (keyValues: Key[]) => void;
53
+ getPaginationRef: () => boolean | PaginationProps;
48
54
  getSize: () => SizeType;
49
- getRowSelection: () => import('./types/table').TableRowSelection<import('../type').Recordable<any>>;
50
- getCacheColumns: () => import('./types/table').BasicColumn[];
55
+ getRowSelection: () => TableRowSelection<Recordable<any>>;
56
+ getCacheColumns: () => BasicColumn[];
51
57
  emit?: ((...args: any[]) => any) | ((evt: string, ...args: any[]) => void) | undefined;
52
- updateTableData: (index: number, key: string, value: any) => import('../type').Recordable<any>;
58
+ updateTableData: (index: number, key: string, value: any) => Recordable<any>;
53
59
  setShowPagination: (show: boolean) => Promise<void>;
54
60
  getShowPagination: () => boolean;
55
- setCacheColumnsByField?: ((dataIndex: string | undefined, value: import('./types/table').BasicColumn) => void) | undefined;
56
- setCacheColumns?: ((columns: import('./types/table').BasicColumn[]) => void) | undefined;
57
- tableElRef: import('vue').Ref<null>;
58
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
61
+ setCacheColumnsByField?: ((dataIndex: string | undefined, value: BasicColumn) => void) | undefined;
62
+ setCacheColumns?: ((columns: BasicColumn[]) => void) | undefined;
63
+ tableElRef: Ref<null>;
64
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
59
65
  change: (...args: any[]) => void;
60
66
  register: (...args: any[]) => void;
61
67
  "edit-change": (...args: any[]) => void;
@@ -72,7 +78,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
72
78
  "row-mouseleave": (...args: any[]) => void;
73
79
  "columns-change": (...args: any[]) => void;
74
80
  "expanded-rows-change": (...args: any[]) => void;
75
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
81
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
76
82
  clickToRowSelect: boolean;
77
83
  tableSetting: () => {};
78
84
  autoCreateKey: boolean;
@@ -107,9 +113,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
107
113
  "onExpanded-rows-change"?: ((...args: any[]) => any) | undefined;
108
114
  }, {
109
115
  immediate: boolean;
110
- columns: import('./types/table').BasicColumn[];
116
+ columns: BasicColumn[];
111
117
  ellipsis: boolean;
112
- rowKey: string | import('ant-design-vue/es/vc-table/interface').GetRowKey<any>;
118
+ rowKey: string | GetRowKey<any>;
113
119
  indentSize: number;
114
120
  showIndexColumn: boolean;
115
121
  canResize: boolean;
@@ -117,29 +123,29 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
117
123
  resizeHeightOffset: number;
118
124
  clickToRowSelect: boolean;
119
125
  striped: boolean;
120
- tableSetting: import('./types/table').TableSetting;
126
+ tableSetting: TableSetting;
121
127
  autoCreateKey: boolean;
122
128
  canColDrag: boolean;
123
129
  emptyDataIsShowTable: boolean;
124
130
  }, {}>, Partial<Record<string, (_: any) => any>> & Partial<Record<NonNullable<ProTableSlots>, (_: any) => any>> & {
125
131
  headerCell?(_: {
126
- column: import('ant-design-vue').TableColumnType<any>;
132
+ column: TableColumnType<any>;
127
133
  }): any;
128
134
  bodyCell?(_: {
129
135
  text: any;
130
136
  value: any;
131
137
  record: Record<string, any>;
132
138
  index: number;
133
- column: import('ant-design-vue').TableColumnType<any>;
139
+ column: TableColumnType<any>;
134
140
  }): any;
135
141
  }>;
136
142
  export default _default;
137
143
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
138
144
  type __VLS_TypePropsToRuntimeProps<T> = {
139
145
  [K in keyof T]-?: {} extends Pick<T, K> ? {
140
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
146
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
141
147
  } : {
142
- type: import('vue').PropType<T[K]>;
148
+ type: PropType<T[K]>;
143
149
  required: true;
144
150
  };
145
151
  };
@@ -1,13 +1,14 @@
1
1
  import { PromptDialogProps } from './interface';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
3
 
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<PromptDialogProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PromptDialogProps>>>, {}, {}>;
4
+ declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<PromptDialogProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PromptDialogProps>>>, {}, {}>;
4
5
  export default _default;
5
6
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
6
7
  type __VLS_TypePropsToRuntimeProps<T> = {
7
8
  [K in keyof T]-?: {} extends Pick<T, K> ? {
8
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
9
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
9
10
  } : {
10
- type: import('vue').PropType<T[K]>;
11
+ type: PropType<T[K]>;
11
12
  required: true;
12
13
  };
13
14
  };
@@ -1,8 +1,8 @@
1
- import { VNode } from 'vue';
1
+ import { VNode, RendererNode, RendererElement } from 'vue';
2
2
  import { PromptProps } from './interface';
3
3
 
4
4
  export declare function createPrompt(props: PromptProps): {
5
- vm: VNode<import('vue').RendererNode, import('vue').RendererElement, {
5
+ vm: VNode< RendererNode, RendererElement, {
6
6
  [key: string]: any;
7
7
  }>;
8
8
  close: () => void;