@aplus-frontend/ui 7.3.2 → 7.4.0

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 (115) hide show
  1. package/es/index.mjs +176 -174
  2. package/es/src/ag-grid/editable/form-item.vue.d.ts +2 -4
  3. package/es/src/ag-grid/editable/index.vue.d.ts +2 -4
  4. package/es/src/ag-grid/index.vue.d.ts +2 -4
  5. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  6. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  7. package/es/src/ap-form/ap-form.vue.d.ts +1 -2
  8. package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  9. package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
  10. package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
  11. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
  12. package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
  13. package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  14. package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
  15. package/es/src/ap-grid/index.vue.d.ts +2 -4
  16. package/es/src/ap-list/index.vue.d.ts +2 -4
  17. package/es/src/ap-modal/interface.d.ts +4 -0
  18. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  19. package/es/src/ap-modal/utils/createModal.mjs +44 -41
  20. package/es/src/ap-table/ap-table.vue.d.ts +2 -4
  21. package/es/src/ap-table/constants.d.ts +5 -5
  22. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  23. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  24. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  25. package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
  26. package/es/src/business/ap-draggable-grid/style/index.mjs +4 -4
  27. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  28. package/es/src/business/ap-expand-alert/index.d.ts +4 -6
  29. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  30. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  31. package/es/src/business/ap-table-modal/index.d.ts +17 -5
  32. package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  33. package/es/src/business/ap-upload/components/Picture.vue.d.ts +2 -7
  34. package/es/src/business/ap-value-select-card/index.vue.d.ts +2 -4
  35. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
  36. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  37. package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
  38. package/es/src/design-token/interface.d.ts +2 -0
  39. package/es/src/editable-table/form-item.vue.d.ts +2 -4
  40. package/es/src/editable-table/index.vue.d.ts +2 -4
  41. package/es/src/index.d.ts +1 -0
  42. package/es/src/index.mjs +280 -278
  43. package/es/src/loading-bar/global.d.ts +13 -0
  44. package/es/src/loading-bar/global.mjs +35 -0
  45. package/es/src/loading-bar/index.d.ts +9 -0
  46. package/es/src/loading-bar/index.mjs +9 -0
  47. package/es/src/loading-bar/index.vue.d.ts +14 -0
  48. package/es/src/loading-bar/index.vue.mjs +4 -0
  49. package/es/src/loading-bar/index.vue2.mjs +112 -0
  50. package/es/src/loading-bar/interface.d.ts +48 -0
  51. package/es/src/loading-bar/interface.mjs +1 -0
  52. package/es/src/loading-bar/style/index.d.ts +12 -0
  53. package/es/src/loading-bar/style/index.mjs +85 -0
  54. package/es/src/scroll-view/index.vue.d.ts +5 -5
  55. package/es/src/tests/wrapper.d.ts +4 -4
  56. package/es/src/version.d.ts +1 -1
  57. package/es/src/version.mjs +1 -1
  58. package/lib/index.js +1 -1
  59. package/lib/src/ag-grid/editable/form-item.vue.d.ts +2 -4
  60. package/lib/src/ag-grid/editable/index.vue.d.ts +2 -4
  61. package/lib/src/ag-grid/index.vue.d.ts +2 -4
  62. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  63. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  64. package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
  65. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  66. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  67. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
  68. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
  69. package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
  70. package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  71. package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
  72. package/lib/src/ap-grid/index.vue.d.ts +2 -4
  73. package/lib/src/ap-list/index.vue.d.ts +2 -4
  74. package/lib/src/ap-modal/interface.d.ts +4 -0
  75. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  76. package/lib/src/ap-modal/utils/createModal.js +1 -1
  77. package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
  78. package/lib/src/ap-table/constants.d.ts +5 -5
  79. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  80. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  81. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  82. package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
  83. package/lib/src/business/ap-draggable-grid/style/index.js +1 -1
  84. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  85. package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
  86. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  87. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  88. package/lib/src/business/ap-table-modal/index.d.ts +17 -5
  89. package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  90. package/lib/src/business/ap-upload/components/Picture.vue.d.ts +2 -7
  91. package/lib/src/business/ap-value-select-card/index.vue.d.ts +2 -4
  92. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
  93. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  94. package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
  95. package/lib/src/design-token/interface.d.ts +2 -0
  96. package/lib/src/editable-table/form-item.vue.d.ts +2 -4
  97. package/lib/src/editable-table/index.vue.d.ts +2 -4
  98. package/lib/src/index.d.ts +1 -0
  99. package/lib/src/index.js +1 -1
  100. package/lib/src/loading-bar/global.d.ts +13 -0
  101. package/lib/src/loading-bar/global.js +1 -0
  102. package/lib/src/loading-bar/index.d.ts +9 -0
  103. package/lib/src/loading-bar/index.js +1 -0
  104. package/lib/src/loading-bar/index.vue.d.ts +14 -0
  105. package/lib/src/loading-bar/index.vue.js +1 -0
  106. package/lib/src/loading-bar/index.vue2.js +1 -0
  107. package/lib/src/loading-bar/interface.d.ts +48 -0
  108. package/lib/src/loading-bar/interface.js +1 -0
  109. package/lib/src/loading-bar/style/index.d.ts +12 -0
  110. package/lib/src/loading-bar/style/index.js +17 -0
  111. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  112. package/lib/src/tests/wrapper.d.ts +4 -4
  113. package/lib/src/version.d.ts +1 -1
  114. package/lib/src/version.js +1 -1
  115. package/package.json +3 -3
@@ -1,13 +1,12 @@
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, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } 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';
11
10
  import { SizeType, ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
@@ -120,7 +119,7 @@ declare function __VLS_template(): {
120
119
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
121
120
  readonly initialValues?: Recordable | undefined;
122
121
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
123
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
122
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
124
123
  readonly syncToUrlPriority?: boolean | undefined;
125
124
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
126
125
  $attrs: {
@@ -1299,7 +1298,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1299
1298
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
1300
1299
  readonly initialValues?: Recordable | undefined;
1301
1300
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1302
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1301
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1303
1302
  readonly syncToUrlPriority?: boolean | undefined;
1304
1303
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1305
1304
  $attrs: {
@@ -143,7 +143,7 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
143
143
  delay?: number;
144
144
  };
145
145
  danger: boolean;
146
- htmlType: ButtonHTMLType;
146
+ htmlType: ** @type { [typeof __VLS_components.Tooltip, typeof __VLS_components.Tooltip, ] } */).ButtonHTMLType;
147
147
  ghost: boolean;
148
148
  iconPosition: ButtonIconPosition;
149
149
  }> | null;
@@ -1,13 +1,12 @@
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, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, 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';
11
10
  import { SizeType } from '@aplus-frontend/antdv/es/button';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSearchFormPopoverSorterItem } from '..';
@@ -119,7 +118,7 @@ declare function __VLS_template(): {
119
118
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
120
119
  readonly initialValues?: Recordable | undefined;
121
120
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
122
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
121
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
123
122
  readonly syncToUrlPriority?: boolean | undefined;
124
123
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
125
124
  $attrs: {
@@ -1107,7 +1106,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
1107
1106
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
1108
1107
  readonly initialValues?: Recordable | undefined;
1109
1108
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1110
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1109
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1111
1110
  readonly syncToUrlPriority?: boolean | undefined;
1112
1111
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1113
1112
  $attrs: {
@@ -1,15 +1,13 @@
1
1
  import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } 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<RendererNode, RendererElement, {
11
- [key: string]: any;
12
- }> & {
10
+ }>) => VNode & {
13
11
  __ctx?: Awaited<typeof __VLS_setup>;
14
12
  };
15
13
  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, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } 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,9 +9,7 @@ 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<RendererNode, RendererElement, {
13
- [key: string]: any;
14
- }> & {
12
+ }>) => VNode & {
15
13
  __ctx?: Awaited<typeof __VLS_setup>;
16
14
  };
17
15
  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, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } 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,9 +35,7 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
35
35
  }) => any;
36
36
  };
37
37
  emit: {};
38
- }>) => VNode<RendererNode, RendererElement, {
39
- [key: string]: any;
40
- }> & {
38
+ }>) => VNode & {
41
39
  __ctx?: Awaited<typeof __VLS_setup>;
42
40
  };
43
41
  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, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } 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,9 +34,7 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
34
34
  }): any;
35
35
  };
36
36
  emit: {};
37
- }>) => VNode<RendererNode, RendererElement, {
38
- [key: string]: any;
39
- }> & {
37
+ }>) => VNode & {
40
38
  __ctx?: Awaited<typeof __VLS_setup>;
41
39
  };
42
40
  export default _default;
@@ -30,6 +30,10 @@ export type CreateModalFuncProps<ContentRecord = any> = Omit<ModalProps, 'open'
30
30
  * 自适应高度
31
31
  */
32
32
  wrapperOffset: boolean | number;
33
+ /**
34
+ * 高度撑满
35
+ */
36
+ wrapperFullHeight: boolean;
33
37
  /**
34
38
  * 弹窗的上下文,一般用于获取全局注册组件、vuex 等内容
35
39
  */
@@ -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: any, ...args: any[]) => void;
9
+ destroy: (this: /*elided*/ any, ...args: any[]) => void;
10
10
  update: (configUpdate: ConfigUpdate) => void;
11
11
  };
12
12
  export default confirm;
@@ -1,45 +1,46 @@
1
- import { render as f, defineComponent as b, createVNode as l, mergeProps as k, h as w } from "vue";
2
- import { Modal as P } from "@aplus-frontend/antdv";
3
- import { ConfigProvider as N, globalConfigCached as m } from "../../config-provider/config-provider.mjs";
4
- import { omit as E } from "lodash-unified";
5
- import { isNumeric as L } from "@aplus-frontend/utils";
1
+ import { render as u, defineComponent as k, createVNode as l, mergeProps as N, h as P } from "vue";
2
+ import { Modal as E } from "@aplus-frontend/antdv";
3
+ import { ConfigProvider as F, globalConfigCached as m } from "../../config-provider/config-provider.mjs";
4
+ import { omit as L } from "lodash-unified";
5
+ import { isNumeric as h } from "@aplus-frontend/utils";
6
6
  import "../../config-provider/index.mjs";
7
- import { getContainerDom as u, getModalGlobalAppContext as M } from "./util.mjs";
7
+ import { getContainerDom as C, getModalGlobalAppContext as M } from "./util.mjs";
8
8
  import { getTopWindow as A } from "../../utils/index.mjs";
9
- import { useNamespace as F } from "../../config-provider/hooks/use-namespace.mjs";
10
- const q = (o) => {
11
- let t, n;
9
+ import { useNamespace as H } from "../../config-provider/hooks/use-namespace.mjs";
10
+ const q = (t) => {
11
+ let n, r;
12
12
  const {
13
13
  destroyOnClose: i = !0,
14
- wrapperOffset: r = !1
15
- } = o, {
14
+ wrapperOffset: o = !1,
15
+ wrapperFullHeight: f = !1
16
+ } = t, {
16
17
  b: p
17
- } = F("ap-modal");
18
+ } = H("ap-modal");
18
19
  function s() {
19
- t && t(!1), setTimeout(() => {
20
- f(null, a), a.parentElement?.removeChild(a);
20
+ n && n(!1), setTimeout(() => {
21
+ u(null, a), a.parentElement?.removeChild(a);
21
22
  }, 500);
22
23
  }
23
- function h() {
24
- t && t(!0);
24
+ function g() {
25
+ n && n(!0);
25
26
  }
26
27
  function d() {
27
- t && t(!1);
28
+ n && n(!1);
28
29
  }
29
- function C(e) {
30
- n && n(e);
30
+ function x(e) {
31
+ r && r(e);
31
32
  }
32
- const g = /* @__PURE__ */ b({
33
+ const v = /* @__PURE__ */ k({
33
34
  data() {
34
35
  return {
35
36
  open: i,
36
- props: o
37
+ props: t
37
38
  };
38
39
  },
39
40
  created() {
40
- t = (e) => {
41
+ n = (e) => {
41
42
  this.open = e;
42
- }, n = (e) => {
43
+ }, r = (e) => {
43
44
  this.props = {
44
45
  ...this.props,
45
46
  ...e
@@ -56,35 +57,35 @@ const q = (o) => {
56
57
  },
57
58
  async handleOk() {
58
59
  try {
59
- if (n({
60
+ if (r({
60
61
  confirmLoading: !0
61
62
  }), this.props?.onOk) {
62
63
  const e = this.props?.content?.component?.exposed ?? void 0;
63
64
  await this.props.onOk(e);
64
65
  }
65
- n({
66
+ r({
66
67
  confirmLoading: !1
67
68
  }), i ? s() : d();
68
69
  } catch {
69
- n({
70
+ r({
70
71
  confirmLoading: !1
71
72
  });
72
73
  }
73
74
  },
74
75
  handleFooter(e) {
75
- return o?.footer !== void 0 ? typeof o.footer == "function" ? o.footer({
76
+ return t?.footer !== void 0 ? typeof t.footer == "function" ? t.footer({
76
77
  ...e,
77
78
  contentExposed: this.props?.content?.component?.exposed ?? void 0
78
- }) : o.footer : e?.originNode;
79
+ }) : t.footer : e?.originNode;
79
80
  }
80
81
  },
81
82
  render() {
82
- const e = E(this.props, ["onCancel", "onOk", "open", "onUpdate:open", "getContainer", "icon", "footer"]);
83
- return l(N, m.value, {
84
- default: () => [l(P, k({
83
+ const e = L(this.props, ["onCancel", "onOk", "open", "onUpdate:open", "getContainer", "icon", "footer"]);
84
+ return l(F, m.value, {
85
+ default: () => [l(E, N({
85
86
  class: {
86
87
  [p()]: !0,
87
- [p("wrapper")]: r
88
+ [p("wrapper")]: o
88
89
  },
89
90
  centered: !0
90
91
  }, e, {
@@ -95,22 +96,24 @@ const q = (o) => {
95
96
  }), {
96
97
  default: () => [l("div", {
97
98
  class: {
98
- [p("body-wrapper")]: r
99
+ [p("body-wrapper")]: o
99
100
  },
100
- style: r === !1 ? {} : {
101
- maxHeight: `calc(100vh - ${(r === !0 ? 100 : L(r) ? Number(r) : 100) * 2}px)`
101
+ style: {
102
+ maxHeight: o !== !1 ? `calc(100vh - ${(o === !0 ? 100 : h(o) ? Number(o) : 100) * 2}px)` : void 0,
103
+ height: f === !0 ? `calc(100vh - ${(o === !0 ? 100 : h(o) ? Number(o) : 100) * 2}px)` : void 0,
104
+ overflowY: o !== !1 || f === !0 ? "auto" : void 0
102
105
  }
103
106
  }, [this.props?.content])]
104
107
  })]
105
108
  });
106
109
  }
107
- }), x = u(m?.value?.getPopupContainer), v = u(o.getContainer), y = x || v || A().document.body, a = document.createElement("div");
108
- y.appendChild(a);
109
- const c = w(g), O = M();
110
- return c.appContext = o.appContext || O || c.appContext, f(c, a), {
110
+ }), y = C(m?.value?.getPopupContainer), O = C(t.getContainer), b = y || O || A().document.body, a = document.createElement("div");
111
+ b.appendChild(a);
112
+ const c = P(v), w = M();
113
+ return c.appContext = t.appContext || w || c.appContext, u(c, a), {
111
114
  destroy: s,
112
- update: C,
113
- open: h,
115
+ update: x,
116
+ open: g,
114
117
  close: d
115
118
  };
116
119
  };
@@ -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, RendererNode, RendererElement } from 'vue';
5
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode } 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,9 +98,7 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
98
98
  }) => void;
99
99
  };
100
100
  emit: {};
101
- }>) => VNode<RendererNode, RendererElement, {
102
- [key: string]: any;
103
- }> & {
101
+ }>) => VNode & {
104
102
  __ctx?: Awaited<typeof __VLS_setup>;
105
103
  };
106
104
  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, SelectProps, TreeSelectProps, CheckboxOptionType } from '@aplus-frontend/antdv';
14
+ import { RadioChangeEvent, 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< SelectProps["options"]>) | undefined;
980
+ readonly request?: ((value?: string, extraParams?: Recordable) => Promise< DefaultOptionType[] | undefined>) | undefined;
981
981
  readonly multiple?: boolean | undefined;
982
- readonly value?: SelectProps["value"];
982
+ readonly value?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
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?: any[] | undefined;
10
+ children?: /*elided*/ 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?: any[] | undefined;
18
+ children?: /*elided*/ any[] | undefined;
19
19
  order?: number | undefined;
20
20
  }[]>;
21
21
  selectAll: () => void;
@@ -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';
7
6
  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?: ButtonProps["type"] | "borderLink";
73
+ type?: ( ButtonType | undefined) | "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?: ButtonProps["type"] | "borderLink";
383
+ type?: ( ButtonType | undefined) | "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
  };
@@ -28,7 +28,7 @@ const i = (r) => {
28
28
  [`${e}--canDrag`]: {
29
29
  cursor: "pointer",
30
30
  "&:hover": {
31
- border: "1px solid #66a9ff"
31
+ border: `1px solid ${r.colorPrimary}`
32
32
  }
33
33
  },
34
34
  [`${e}--dragging`]: {
@@ -41,13 +41,13 @@ const i = (r) => {
41
41
  zIndex: 999
42
42
  },
43
43
  [`${e}__overlay`]: {
44
- border: "1px solid #66a9ff"
44
+ border: `1px solid ${r.colorPrimary}`
45
45
  }
46
46
  }
47
47
  };
48
- }, t = o("ApDraggableGrid", (r) => [
48
+ }, d = o("ApDraggableGrid", (r) => [
49
49
  i(r)
50
50
  ]);
51
51
  export {
52
- t as default
52
+ d as default
53
53
  };
@@ -1,5 +1,5 @@
1
1
  import { ApExpandAlertProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } 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,9 +24,7 @@ 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<RendererNode, RendererElement, {
28
- [key: string]: any;
29
- }> & {
27
+ }>) => VNode & {
30
28
  __ctx?: Awaited<typeof __VLS_setup>;
31
29
  };
32
30
  export default _default;
@@ -1,4 +1,4 @@
1
- import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, RendererNode, RendererElement, Plugin } from 'vue';
1
+ import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, Plugin } from 'vue';
2
2
  export * from './interface';
3
3
  declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
4
4
  attrs: any;
@@ -21,7 +21,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
21
21
  readonly onClose?: ((args_0: MouseEvent) => any) | undefined;
22
22
  readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
23
23
  readonly onChoose?: ((args_0: T) => any) | undefined;
24
- type?: "warning" | "error" | "success" | "info" | "card" | undefined;
24
+ type?: "warning" | "error" | "success" | "info" | "card" | undefined | undefined;
25
25
  data?: string | T[] | undefined;
26
26
  prefix?: string | undefined;
27
27
  tipTitle?: string | undefined;
@@ -30,7 +30,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
30
30
  separatorStyle?: CSSProperties | undefined;
31
31
  contentStyle?: Omit< CSSProperties, "wordBreak" | "overflow" | "display" | "webkitLineClamp" | "webkitBoxOrient"> | undefined;
32
32
  prefixStyle?: CSSProperties | undefined;
33
- rows?: (string | number) | undefined;
33
+ rows?: string | number | undefined;
34
34
  defaultExpand?: boolean | undefined;
35
35
  closable?: boolean | undefined;
36
36
  afterClose?: (() => void) | undefined;
@@ -54,9 +54,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
54
54
  }): any;
55
55
  };
56
56
  emit: ((evt: "close", args_0: MouseEvent) => void) & ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
57
- }>) => VNode<RendererNode, RendererElement, {
58
- [key: string]: any;
59
- }> & {
57
+ }>) => VNode & {
60
58
  __ctx?: Awaited<typeof __VLS_setup>;
61
59
  }) & ( Plugin & (new (...args: any[]) => {
62
60
  $props: {
@@ -1,5 +1,5 @@
1
1
  import { ApSelectItem } from './interface';
2
- import { PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement, Plugin } from 'vue';
2
+ import { PublicProps, ShallowUnwrapRef, VNode, Plugin } from 'vue';
3
3
  export * from './interface';
4
4
  declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
5
5
  attrs: any;
@@ -38,9 +38,7 @@ declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable
38
38
  (event: "afterEnter", el: Element): void;
39
39
  (event: "afterLeave", el: Element): void;
40
40
  };
41
- }>) => VNode<RendererNode, RendererElement, {
42
- [key: string]: any;
43
- }> & {
41
+ }>) => VNode & {
44
42
  __ctx?: Awaited<typeof __VLS_setup>;
45
43
  }) & ( Plugin & (new (...args: any[]) => {
46
44
  $props: {
@@ -1,5 +1,5 @@
1
1
  import { ApSelectItem, ApSelectLayoutProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
3
  declare const _default: <T extends ApSelectItem>(__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 onOnSelect?: ((value: T) => any) | undefined;
@@ -19,9 +19,7 @@ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaite
19
19
  (event: "afterEnter", el: Element): void;
20
20
  (event: "afterLeave", el: Element): void;
21
21
  };
22
- }>) => VNode<RendererNode, RendererElement, {
23
- [key: string]: any;
24
- }> & {
22
+ }>) => VNode & {
25
23
  __ctx?: Awaited<typeof __VLS_setup>;
26
24
  };
27
25
  export default _default;
@@ -4,8 +4,8 @@ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicP
4
4
  import { ApTableModalProps, OpenOptions, OpenReturnType } from './interface';
5
5
  import { Recordable } from '../../type';
6
6
  import { TableColumnsType } from '@aplus-frontend/antdv';
7
- import { InternalPagingType } from '../../ap-table/hooks/use-table-paging-ng';
8
7
  import { ApFormSearchFormPopoverSorterItem } from '../..';
8
+ import { InternalPagingType } from '../../ap-table/hooks/use-table-paging-ng';
9
9
  /**
10
10
  *
11
11
  */
@@ -43,8 +43,14 @@ declare const ApTableModal: {
43
43
  };
44
44
  y: undefined;
45
45
  };
46
- getPaging: () => InternalPagingType;
47
- setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
46
+ getPaging: () => Partial<{
47
+ current: number;
48
+ pageSize: number;
49
+ }>;
50
+ setPaging: (nextPaging: Partial<{
51
+ current: number;
52
+ pageSize: number;
53
+ }>, refreshImmediately?: boolean) => void;
48
54
  getSearchFormSorterItems: () => ApFormSearchFormPopoverSorterItem[];
49
55
  setSearchFormSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
50
56
  resetSearchFormSorterItems: () => void;
@@ -149,8 +155,14 @@ declare const ApTableModal: {
149
155
  };
150
156
  y: undefined;
151
157
  };
152
- getPaging: () => InternalPagingType;
153
- setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
158
+ getPaging: () => Partial<{
159
+ current: number;
160
+ pageSize: number;
161
+ }>;
162
+ setPaging: (nextPaging: Partial<{
163
+ current: number;
164
+ pageSize: number;
165
+ }>, refreshImmediately?: boolean) => void;
154
166
  getSearchFormSorterItems: () => ApFormSearchFormPopoverSorterItem[];
155
167
  setSearchFormSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
156
168
  resetSearchFormSorterItems: () => void;
@@ -1,6 +1,6 @@
1
1
  import { UploadFile, UploadChangeParam } from '@aplus-frontend/antdv';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
- import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadChangeParam, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
3
+ import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
4
4
  import { UploadRequestOption } from '@aplus-frontend/antdv/es/vc-upload/interface';
5
5
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
6
6
  declare function setValue(val: (string | Record<string, any>)[]): void;