@aplus-frontend/ui 7.3.0 → 7.3.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 (93) hide show
  1. package/es/src/ag-grid/editable/form-item.vue.d.ts +4 -2
  2. package/es/src/ag-grid/editable/index.vue.d.ts +4 -2
  3. package/es/src/ag-grid/index.vue.d.ts +4 -2
  4. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  5. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  6. package/es/src/ap-form/ap-form.vue.d.ts +2 -1
  7. package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  8. package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
  9. package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
  10. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
  11. package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
  12. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  13. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  14. package/es/src/ap-grid/index.vue.d.ts +4 -2
  15. package/es/src/ap-list/index.vue.d.ts +4 -2
  16. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  17. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  18. package/es/src/ap-table/constants.d.ts +5 -5
  19. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  20. package/es/src/ap-table/hooks/use-table-column-state.mjs +18 -18
  21. package/es/src/ap-table/style/index.mjs +1 -1
  22. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  23. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  24. package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
  25. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  26. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  27. package/es/src/business/ap-label/group/ApLabelGroup.mjs +8 -9
  28. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  29. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  30. package/es/src/business/ap-table-modal/index.d.ts +5 -17
  31. package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  32. package/es/src/business/ap-upload/components/Picture.vue.d.ts +7 -2
  33. package/es/src/business/ap-upload/style/multiple-file.mjs +3 -3
  34. package/es/src/business/ap-upload/style/picture.mjs +12 -12
  35. package/es/src/business/ap-upload/style/single-file.mjs +8 -8
  36. package/es/src/business/ap-value-select-card/index.vue.d.ts +4 -2
  37. package/es/src/business/ap-value-select-card/style/index.mjs +4 -4
  38. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  39. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  40. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  41. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  42. package/es/src/editable-table/index.vue.d.ts +4 -2
  43. package/es/src/scroll-view/index.vue.d.ts +5 -5
  44. package/es/src/tests/wrapper.d.ts +4 -4
  45. package/es/src/version.d.ts +1 -1
  46. package/es/src/version.mjs +1 -1
  47. package/lib/src/ag-grid/editable/form-item.vue.d.ts +4 -2
  48. package/lib/src/ag-grid/editable/index.vue.d.ts +4 -2
  49. package/lib/src/ag-grid/index.vue.d.ts +4 -2
  50. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  51. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  52. package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
  53. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  54. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  55. package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
  56. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
  57. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
  58. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  59. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  60. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  61. package/lib/src/ap-list/index.vue.d.ts +4 -2
  62. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  63. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  64. package/lib/src/ap-table/constants.d.ts +5 -5
  65. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  66. package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
  67. package/lib/src/ap-table/style/index.js +1 -1
  68. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  69. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  70. package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
  71. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  72. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  73. package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
  74. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  75. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  76. package/lib/src/business/ap-table-modal/index.d.ts +5 -17
  77. package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  78. package/lib/src/business/ap-upload/components/Picture.vue.d.ts +7 -2
  79. package/lib/src/business/ap-upload/style/multiple-file.js +1 -1
  80. package/lib/src/business/ap-upload/style/picture.js +1 -1
  81. package/lib/src/business/ap-upload/style/single-file.js +1 -1
  82. package/lib/src/business/ap-value-select-card/index.vue.d.ts +4 -2
  83. package/lib/src/business/ap-value-select-card/style/index.js +1 -1
  84. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  85. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  86. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  87. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  88. package/lib/src/editable-table/index.vue.d.ts +4 -2
  89. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  90. package/lib/src/tests/wrapper.d.ts +4 -4
  91. package/lib/src/version.d.ts +1 -1
  92. package/lib/src/version.js +1 -1
  93. package/package.json +3 -3
@@ -1,13 +1,15 @@
1
1
  import { EditableAgGridFormItemExpose, EditableAgGridFormItemProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableAgGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<EditableAgGridFormItemExpose<RecordType>>): void;
7
7
  attrs: any;
8
8
  slots: Readonly<Record<string, any>> & Record<string, any>;
9
9
  emit: {};
10
- }>) => VNode & {
10
+ }>) => VNode<RendererNode, RendererElement, {
11
+ [key: string]: any;
12
+ }> & {
11
13
  __ctx?: Awaited<typeof __VLS_setup>;
12
14
  };
13
15
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { EditableAgGridExpose, EditableAgGridProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -9,7 +9,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
9
9
  attrs: any;
10
10
  slots: Readonly<Record<string, any>> & Record<string, any>;
11
11
  emit: (event: "update:value", ...args: any[]) => void;
12
- }>) => VNode & {
12
+ }>) => VNode<RendererNode, RendererElement, {
13
+ [key: string]: any;
14
+ }> & {
13
15
  __ctx?: Awaited<typeof __VLS_setup>;
14
16
  };
15
17
  export default _default;
@@ -1,13 +1,15 @@
1
1
  import { AgGridExpose, AgGridProps, AgGridSlots } from './interface';
2
2
  import { Recordable } from '../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & AgGridProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<AgGridExpose>): void;
7
7
  attrs: any;
8
8
  slots: Readonly<AgGridSlots<RecordType>> & AgGridSlots<RecordType>;
9
9
  emit: {};
10
- }>) => VNode & {
10
+ }>) => VNode<RendererNode, RendererElement, {
11
+ [key: string]: any;
12
+ }> & {
11
13
  __ctx?: Awaited<typeof __VLS_setup>;
12
14
  };
13
15
  export default _default;
@@ -6,13 +6,13 @@ export declare const useSelectOptions: (props: ApFieldSelectProps) => {
6
6
  options: Ref<{
7
7
  [x: string]: any;
8
8
  label?: any;
9
- value?: string | number | null | undefined;
9
+ value?: (string | number | null) | undefined;
10
10
  children?: Omit<DefaultOptionType, "children">[] | undefined;
11
11
  disabled?: boolean | undefined;
12
12
  }[], DefaultOptionType[] | {
13
13
  [x: string]: any;
14
14
  label?: any;
15
- value?: string | number | null | undefined;
15
+ value?: (string | number | null) | undefined;
16
16
  children?: Omit<DefaultOptionType, "children">[] | undefined;
17
17
  disabled?: boolean | undefined;
18
18
  }[]>;
@@ -8,14 +8,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
8
8
  disabled?: boolean | undefined;
9
9
  checkable?: boolean | undefined;
10
10
  disableCheckbox?: boolean | undefined;
11
- children?: /*elided*/ any[] | undefined;
11
+ children?: any[] | undefined;
12
12
  } | {
13
13
  [x: string]: any;
14
14
  value?: RawValueType | undefined;
15
15
  title?: any;
16
16
  label?: any;
17
17
  key?: Key | undefined;
18
- children?: /*elided*/ any[] | undefined;
18
+ children?: any[] | undefined;
19
19
  disabled?: boolean | undefined;
20
20
  checkable?: boolean | undefined;
21
21
  disableCheckbox?: boolean | undefined;
@@ -24,14 +24,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
24
24
  disabled?: boolean | undefined;
25
25
  checkable?: boolean | undefined;
26
26
  disableCheckbox?: boolean | undefined;
27
- children?: /*elided*/ any[] | undefined;
27
+ children?: any[] | undefined;
28
28
  } | {
29
29
  [x: string]: any;
30
30
  value?: RawValueType | undefined;
31
31
  title?: any;
32
32
  label?: any;
33
33
  key?: Key | undefined;
34
- children?: /*elided*/ any[] | undefined;
34
+ children?: any[] | undefined;
35
35
  disabled?: boolean | undefined;
36
36
  checkable?: boolean | undefined;
37
37
  disableCheckbox?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  import { ApFormProps, UpdateModelOptimizeFn, WatchFunc, ApFormInternalInstance } from './interface';
2
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
2
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
5
5
  import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
@@ -7,6 +7,7 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
9
9
  import { Options } from '../../node_modules/scroll-into-view-if-needed';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
10
11
  import { SizeType } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  declare function __VLS_template(): {
@@ -1,12 +1,13 @@
1
1
  import { ApFormDrawerFormProps, CustomizeResizeType } from '../interface';
2
2
  import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
3
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
4
4
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
5
5
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
8
8
  import { Recordable } from '../../type';
9
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
10
11
  import { SizeType } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
@@ -118,7 +119,7 @@ declare function __VLS_template(): {
118
119
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
119
120
  readonly initialValues?: Recordable | undefined;
120
121
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
121
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
122
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
122
123
  readonly syncToUrlPriority?: boolean | undefined;
123
124
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
124
125
  $attrs: {
@@ -1081,7 +1082,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
1081
1082
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
1082
1083
  readonly initialValues?: Recordable | undefined;
1083
1084
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1084
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1085
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1085
1086
  readonly syncToUrlPriority?: boolean | undefined;
1086
1087
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1087
1088
  $attrs: {
@@ -127,12 +127,12 @@ declare function __VLS_template(): {
127
127
  readonly emptyText?: string | undefined;
128
128
  readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
129
129
  readonly multiple?: boolean | undefined;
130
- readonly value?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
130
+ readonly value?: SelectProps["value"];
131
131
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
132
- readonly searchMode?: "filter" | "request" | undefined;
132
+ readonly searchMode?: ("filter" | "request") | undefined;
133
133
  readonly refetchOnFocus?: boolean | undefined;
134
134
  readonly lazy?: boolean | undefined;
135
- readonly addAll?: boolean | number | undefined;
135
+ readonly addAll?: (boolean | number) | undefined;
136
136
  readonly params?: Recordable | undefined;
137
137
  readonly searchDelay?: number | undefined;
138
138
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -776,12 +776,12 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
776
776
  readonly emptyText?: string | undefined;
777
777
  readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
778
778
  readonly multiple?: boolean | undefined;
779
- readonly value?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
779
+ readonly value?: SelectProps["value"];
780
780
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
781
- readonly searchMode?: "filter" | "request" | undefined;
781
+ readonly searchMode?: ("filter" | "request") | undefined;
782
782
  readonly refetchOnFocus?: boolean | undefined;
783
783
  readonly lazy?: boolean | undefined;
784
- readonly addAll?: boolean | number | undefined;
784
+ readonly addAll?: (boolean | number) | undefined;
785
785
  readonly params?: Recordable | undefined;
786
786
  readonly searchDelay?: number | undefined;
787
787
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1,12 +1,13 @@
1
1
  import { ApFormModalFormProps } from '../interface';
2
2
  import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
3
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
4
4
  import { Recordable } from '../../type';
5
5
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
6
6
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
7
7
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
8
8
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
9
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
10
11
  import { SizeType, ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
@@ -119,7 +120,7 @@ declare function __VLS_template(): {
119
120
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
120
121
  readonly initialValues?: Recordable | undefined;
121
122
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
122
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
123
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
123
124
  readonly syncToUrlPriority?: boolean | undefined;
124
125
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
125
126
  $attrs: {
@@ -1298,7 +1299,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1298
1299
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
1299
1300
  readonly initialValues?: Recordable | undefined;
1300
1301
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1301
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1302
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1302
1303
  readonly syncToUrlPriority?: boolean | undefined;
1303
1304
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1304
1305
  $attrs: {
@@ -143,7 +143,7 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
143
143
  delay?: number;
144
144
  };
145
145
  danger: boolean;
146
- htmlType: ** @type { [typeof __VLS_components.Tooltip, typeof __VLS_components.Tooltip, ] } */).ButtonHTMLType;
146
+ htmlType: ButtonHTMLType;
147
147
  ghost: boolean;
148
148
  iconPosition: ButtonIconPosition;
149
149
  }> | null;
@@ -1,12 +1,13 @@
1
1
  import { ApFormExpose, ApFormSearchFormProps } from '../interface';
2
2
  import { ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
3
3
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
4
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
5
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
8
8
  import { Recordable } from '../../type';
9
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
10
11
  import { SizeType } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSearchFormPopoverSorterItem } from '..';
@@ -118,7 +119,7 @@ declare function __VLS_template(): {
118
119
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
119
120
  readonly initialValues?: Recordable | undefined;
120
121
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
121
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
122
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
122
123
  readonly syncToUrlPriority?: boolean | undefined;
123
124
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
124
125
  $attrs: {
@@ -1106,7 +1107,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
1106
1107
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
1107
1108
  readonly initialValues?: Recordable | undefined;
1108
1109
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1109
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1110
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1110
1111
  readonly syncToUrlPriority?: boolean | undefined;
1111
1112
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1112
1113
  $attrs: {
@@ -1,13 +1,15 @@
1
1
  import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<EditableGridFormItemExpose>): void;
7
7
  attrs: any;
8
8
  slots: Readonly<Record<string, any>> & Record<string, any>;
9
9
  emit: {};
10
- }>) => VNode & {
10
+ }>) => VNode<RendererNode, RendererElement, {
11
+ [key: string]: any;
12
+ }> & {
11
13
  __ctx?: Awaited<typeof __VLS_setup>;
12
14
  };
13
15
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { EditableGridExpose, EditableGridProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -9,7 +9,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
9
9
  attrs: any;
10
10
  slots: Readonly<Record<string, any>> & Record<string, any>;
11
11
  emit: (event: "update:value", ...args: any[]) => void;
12
- }>) => VNode & {
12
+ }>) => VNode<RendererNode, RendererElement, {
13
+ [key: string]: any;
14
+ }> & {
13
15
  __ctx?: Awaited<typeof __VLS_setup>;
14
16
  };
15
17
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { VxeTableSlots } from 'vxe-table';
2
2
  import { ApGridColumnType, ApGridExpose, ApGridProps } from './interface';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApGridProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<ApGridExpose>): void;
@@ -35,7 +35,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
35
35
  }) => any;
36
36
  };
37
37
  emit: {};
38
- }>) => VNode & {
38
+ }>) => VNode<RendererNode, RendererElement, {
39
+ [key: string]: any;
40
+ }> & {
39
41
  __ctx?: Awaited<typeof __VLS_setup>;
40
42
  };
41
43
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { ApListExpose, ApListProps } from './interface';
2
2
  import { Recordable } from '../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode, RendererNode, RendererElement } from 'vue';
4
4
  import { ApFormSearchFormExpose } from '..';
5
5
  declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApListProps<RecordType> & Partial<{}>> & PublicProps;
@@ -34,7 +34,9 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
34
34
  }): any;
35
35
  };
36
36
  emit: {};
37
- }>) => VNode & {
37
+ }>) => VNode<RendererNode, RendererElement, {
38
+ [key: string]: any;
39
+ }> & {
38
40
  __ctx?: Awaited<typeof __VLS_setup>;
39
41
  };
40
42
  export default _default;
@@ -6,7 +6,7 @@ export type ModalFunc = (props: ModalFuncProps) => {
6
6
  update: (configUpdate: ConfigUpdate) => void;
7
7
  };
8
8
  declare const confirm: (config: ModalFuncProps) => {
9
- destroy: (this: /*elided*/ any, ...args: any[]) => void;
9
+ destroy: (this: any, ...args: any[]) => void;
10
10
  update: (configUpdate: ConfigUpdate) => void;
11
11
  };
12
12
  export default confirm;
@@ -2,7 +2,7 @@ import { ApColumnType, ApTableProps } from './interface';
2
2
  import { ApFormSearchFormPopoverSorterItem } from '../ap-form';
3
3
  import { ColumnsType, ColumnType } from '@aplus-frontend/antdv/es/table';
4
4
  import { RowSelectionReturnType } from './hooks/use-table-row-selection';
5
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode } from 'vue';
5
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode, RendererNode, RendererElement } from 'vue';
6
6
  declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType> & Partial<{}>> & PublicProps;
8
8
  expose(exposed: ShallowUnwrapRef<{
@@ -98,7 +98,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
98
98
  }) => void;
99
99
  };
100
100
  emit: {};
101
- }>) => VNode & {
101
+ }>) => VNode<RendererNode, RendererElement, {
102
+ [key: string]: any;
103
+ }> & {
102
104
  __ctx?: Awaited<typeof __VLS_setup>;
103
105
  };
104
106
  export default _default;
@@ -11,7 +11,7 @@ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
11
11
  import { OnCleanup } from '@vue/reactivity';
12
12
  import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
13
13
  import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
14
- import { RadioChangeEvent, TreeSelectProps, CheckboxOptionType } from '@aplus-frontend/antdv';
14
+ import { RadioChangeEvent, SelectProps, TreeSelectProps, CheckboxOptionType } from '@aplus-frontend/antdv';
15
15
  import { SelectValue, DefaultOptionType, LabeledValue, BaseOptionType } from '@aplus-frontend/antdv/es/select';
16
16
  import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
17
17
  import { RenderDOMFunc, CustomTagProps, DropdownRender, DisplayValueType } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
@@ -977,14 +977,14 @@ export declare const apTableFormItemMap: {
977
977
  readonly onPopupScroll?: ((e: UIEvent) => void) | undefined;
978
978
  readonly onInputKeyDown?: ((e: KeyboardEvent) => void) | undefined;
979
979
  readonly emptyText?: string | undefined;
980
- readonly request?: ((value?: string, extraParams?: Recordable) => Promise< DefaultOptionType[] | undefined>) | undefined;
980
+ readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
981
981
  readonly multiple?: boolean | undefined;
982
- readonly value?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
982
+ readonly value?: SelectProps["value"];
983
983
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
984
- readonly searchMode?: "filter" | "request" | undefined;
984
+ readonly searchMode?: ("filter" | "request") | undefined;
985
985
  readonly refetchOnFocus?: boolean | undefined;
986
986
  readonly lazy?: boolean | undefined;
987
- readonly addAll?: boolean | number | undefined;
987
+ readonly addAll?: (boolean | number) | undefined;
988
988
  readonly params?: Recordable | undefined;
989
989
  readonly searchDelay?: number | undefined;
990
990
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -4,18 +4,18 @@ export declare const useTableColumnState: (columnSetting: ApTableSettingType, pe
4
4
  columnState: Ref<{
5
5
  key: string | number;
6
6
  show?: boolean | undefined;
7
- fixed?: "left" | "right" | undefined;
7
+ fixed?: ("left" | "right") | undefined;
8
8
  disabled?: boolean | undefined;
9
9
  label?: any;
10
- children?: /*elided*/ any[] | undefined;
10
+ children?: any[] | undefined;
11
11
  order?: number | undefined;
12
12
  }[], ApColumnState[] | {
13
13
  key: string | number;
14
14
  show?: boolean | undefined;
15
- fixed?: "left" | "right" | undefined;
15
+ fixed?: ("left" | "right") | undefined;
16
16
  disabled?: boolean | undefined;
17
17
  label?: any;
18
- children?: /*elided*/ any[] | undefined;
18
+ children?: any[] | undefined;
19
19
  order?: number | undefined;
20
20
  }[]>;
21
21
  selectAll: () => void;
@@ -1,8 +1,8 @@
1
- import { ref as D, shallowRef as G, unref as i, computed as P, watchEffect as W } from "vue";
2
- import { isDef as X } from "../../utils/index.mjs";
3
- import q, { customCloneColumnStates as v, getColumnStateString as H } from "../components/setting/utils.mjs";
4
- import { useInjectApTable as L } from "../context.mjs";
5
- import { isObject as b, mergeWith as T, isBoolean as Q, omit as U, isString as V, isNumber as y } from "lodash-unified";
1
+ import { ref as D, shallowRef as G, unref as i, computed as W, watchEffect as X } from "vue";
2
+ import { isDef as q } from "../../utils/index.mjs";
3
+ import H, { customCloneColumnStates as v, getColumnStateString as L } from "../components/setting/utils.mjs";
4
+ import { useInjectApTable as P } from "../context.mjs";
5
+ import { isObject as T, mergeWith as A, isBoolean as Q, omit as U, isString as V, isNumber as b } from "lodash-unified";
6
6
  import "../../config-provider/index.mjs";
7
7
  import { useToken as Y } from "@aplus-frontend/antdv/es/theme/internal";
8
8
  import { getTableTitle as Z } from "../utils.mjs";
@@ -19,22 +19,22 @@ function K(r, o) {
19
19
  return n ? JSON.parse(n) : {};
20
20
  }
21
21
  function N(r, o) {
22
- if (b(r) && b(o))
23
- return T({}, r, o, N);
22
+ if (T(r) && T(o))
23
+ return A({}, r, o, N);
24
24
  }
25
- const A = Number.MAX_SAFE_INTEGER;
25
+ const y = Number.MAX_SAFE_INTEGER;
26
26
  function ee(r, o, n, a) {
27
27
  return a ? a.fixed : o ? o.fixed : n && "fixed" in n ? n.fixed : Q(r.fixed) ? r.fixed ? "left" : void 0 : r.fixed;
28
28
  }
29
29
  const ce = (r, o, n) => {
30
30
  const { be: a } = $("ap-table"), [te, B] = Y(), l = D(n), d = G(
31
31
  v(n)
32
- ), { columnsBackup: m, updateColumns: E } = L(), F = r.persistenceType || "localStorage", h = window[F];
32
+ ), { columnsBackup: m, updateColumns: E } = P(), F = r.persistenceType || "localStorage", h = window[F];
33
33
  function I() {
34
34
  const e = K(
35
35
  h,
36
36
  i(o)
37
- ), t = T(
37
+ ), t = A(
38
38
  {},
39
39
  r.defaultValue || {},
40
40
  e,
@@ -48,7 +48,7 @@ const ce = (r, o, n) => {
48
48
  f,
49
49
  a("table-header", "title"),
50
50
  void 0,
51
- B.value.colorPrimary
51
+ B.value.colorTextTertiary
52
52
  ) : f.title,
53
53
  show: !0,
54
54
  fixed: ee(
@@ -70,11 +70,11 @@ const ce = (r, o, n) => {
70
70
  return u(s || [], t);
71
71
  }
72
72
  function O(e, t) {
73
- const s = y(e.order) ? e.order : A;
74
- let u = y(t.order) ? t.order : A;
73
+ const s = b(e.order) ? e.order : y;
74
+ let u = b(t.order) ? t.order : y;
75
75
  return e.fixed === "right" && t.fixed !== "right" && (u = s - 1), t.fixed === "left" && e.fixed !== "left" && (u = s - 1), s - u;
76
76
  }
77
- const S = P(() => i(l).every((e) => e.show));
77
+ const S = W(() => i(l).every((e) => e.show));
78
78
  function p() {
79
79
  const e = i(l);
80
80
  c(e, (t) => {
@@ -92,7 +92,7 @@ const ce = (r, o, n) => {
92
92
  }
93
93
  function J(e, t) {
94
94
  c(i(l), (s) => {
95
- s.key === e && (s.show = X(t) ? t : !s.show);
95
+ s.key === e && (s.show = q(t) ? t : !s.show);
96
96
  });
97
97
  }
98
98
  function C(e) {
@@ -103,14 +103,14 @@ const ce = (r, o, n) => {
103
103
  }
104
104
  function w(e) {
105
105
  if (i(o)) {
106
- const t = H(e);
106
+ const t = L(e);
107
107
  h.setItem(i(o), JSON.stringify(t));
108
108
  }
109
109
  }
110
- return W(() => {
110
+ return X(() => {
111
111
  const e = I();
112
112
  C(e), r.onChange?.(e), E?.(
113
- q(
113
+ H(
114
114
  i(m),
115
115
  i(e)
116
116
  )
@@ -2,7 +2,7 @@ import { multiRows as l, resetScrollbar as i } from "../../style/index.mjs";
2
2
  import { genComponentStyleHook as o } from "../../utils/cssinjs/index.mjs";
3
3
  const r = (t) => ({
4
4
  [`.${t.namespace}-ap-table-setting-trigger-button`]: {
5
- color: t.textColor3,
5
+ color: t.textColor2,
6
6
  "&:hover": {
7
7
  color: "unset"
8
8
  }
@@ -3,8 +3,8 @@ import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/bu
3
3
  import { ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
4
4
  import { VueTypeValidableDef } from '../../../node_modules/vue-types';
5
5
  import { MouseEventHandler, FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
6
+ import { ButtonProps, ItemType, MenuTheme, MenuMode, TableColumnsType } from '@aplus-frontend/antdv';
6
7
  import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/dropdown/props';
7
- import { ItemType, MenuTheme, MenuMode, TableColumnsType, ButtonProps } from '@aplus-frontend/antdv';
8
8
  import { Key } from '@aplus-frontend/antdv/es/_util/type';
9
9
  import { CSSMotionProps } from '@aplus-frontend/antdv/es/_util/transition';
10
10
  import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '@aplus-frontend/antdv/es/menu/src/interface';
@@ -70,7 +70,7 @@ declare const ApBatchActionGroup: {
70
70
  color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "danger" | "primary">;
71
71
  variant: PropType<ButtonVariantType>;
72
72
  }>>, "type" | "onClick"> & {
73
- type?: ( ButtonType | undefined) | "borderLink";
73
+ type?: ButtonProps["type"] | "borderLink";
74
74
  borderLinkColor?: string;
75
75
  minWidth?: boolean | number | string;
76
76
  lazy?: boolean | number;
@@ -380,7 +380,7 @@ declare const ApBatchActionGroup: {
380
380
  color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "danger" | "primary">;
381
381
  variant: PropType<ButtonVariantType>;
382
382
  }>>, "type" | "onClick"> & {
383
- type?: ( ButtonType | undefined) | "borderLink";
383
+ type?: ButtonProps["type"] | "borderLink";
384
384
  borderLinkColor?: string;
385
385
  minWidth?: boolean | number | string;
386
386
  lazy?: boolean | number;
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
10
10
  span: number;
11
11
  row: number;
12
12
  col: number;
13
- showHeight?: number | string | undefined;
13
+ showHeight?: (number | string) | undefined;
14
14
  height: number | string;
15
15
  module: string;
16
16
  };
@@ -172,7 +172,7 @@ declare const ApDraggableGrid: {
172
172
  span: number;
173
173
  row: number;
174
174
  col: number;
175
- showHeight?: number | string | undefined;
175
+ showHeight?: (number | string) | undefined;
176
176
  height: number | string;
177
177
  module: string;
178
178
  };
@@ -1,5 +1,5 @@
1
1
  import { ApExpandAlertProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
3
  declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  readonly onClose?: ((args_0: MouseEvent) => any) | undefined;
@@ -24,7 +24,9 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
24
24
  }): any;
25
25
  };
26
26
  emit: ((evt: "close", args_0: MouseEvent) => void) & ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
27
- }>) => VNode & {
27
+ }>) => VNode<RendererNode, RendererElement, {
28
+ [key: string]: any;
29
+ }> & {
28
30
  __ctx?: Awaited<typeof __VLS_setup>;
29
31
  };
30
32
  export default _default;